--- title: "Catalyst関数シェルの起動とTunnelingの開始" url: https://docs.catalyst.zoho.com/ja/tools/tunneling/implementation/launch-tunneling/ description: "Catalyst Tunnelingは、リバースプロキシプロバイダーのTunneling URLを使用して、関数呼び出しをローカルシステムにルーティングすることで、非HTTPSおよびIntegration関数をデバッグできます。" last_updated: 2026-08-17T12:16:04Z service: All Services type: general --- # Catalyst関数シェルの起動とTunnelingの開始 以下のCLIコマンドに`--tunnel`オプションを付けてCatalyst関数シェルを起動し、Tunneling URLを生成したポート番号を指定します。 ```sh catalyst functions:shell --tunnel tunnel-port-number ``` このコマンドにより、関数のTunnelingが開始されます。 ![catalyst_tunneling_enter_cli_command](https://catalyst-docs-development.zohostratus.in/images/catalyst-extension/tunneling/catalyst_tunneling_enter_cli_command.webp) 関数をトリガーすると、すべての呼び出しがローカルにルーティングされ、Catalyst CLIで実行ログを確認できます。 ![catalyst_tunneling_viewing_exec_logs_cli](https://catalyst-docs-development.zohostratus.in/images/catalyst-extension/tunneling/catalyst_tunneling_viewing_exec_logs_cli.webp) コンポーネントセクションにあるトンネリング済み関数の*実行履歴*を確認しようとすると、関数がトンネリングされていることが明確に表示されます。 ![catalyst_tunneling_view_logs_hihglight](https://catalyst-docs-development.zohostratus.in/images/catalyst-extension/tunneling/catalyst_tunneling_view_logs_hihglight.webp) さらに**view-logs**アイコンをクリックすると、Tunnelingがいつ、誰によって有効化および無効化されたかなどの詳細を確認できます。 ![catalyst_tunneling_view_logs_log_section](https://catalyst-docs-development.zohostratus.in/images/catalyst-extension/tunneling/catalyst_tunneling_view_logs_log_section.webp) > **注意:** 非HTTPSまたはIntegration関数はCatalystクラウドではなくローカルマシンで実行されるため、ログはCatalyst CLIでのみ確認できます。 同じ情報は[監査ログ](https://docs.catalyst.zoho.com/ja/getting-started/set-up-a-catalyst-project/audit-logs/)でも確認できます。 ![catalyst_tunneling_audit_logs](https://catalyst-docs-development.zohostratus.in/images/catalyst-extension/tunneling/catalyst_tunneling_audit_logs.webp) 次に、以下のCLIコマンドを実行して関数をトンネリングしてデバッグします: ```sh catalyst functions:shell --tunnel tunnel-port-number --debug port-number ``` ![catalyst_tunneling_cli_command_debug](https://catalyst-docs-development.zohostratus.in/images/catalyst-extension/tunneling/catalyst_tunneling_cli_command_debug.webp) > **注意:** Tunnelingとデバッグには異なるポート番号を指定してください。 関数をトンネリングしてデバッグを選択した場合、追加のIDE設定を実装する必要があります。トンネリング済み関数をデバッグするためのIDEデバッガーの設定手順は、この[セクション](https://docs.catalyst.zoho.com/ja/tools/tunneling/implementation/ide-config/java/)に記載されています。