--- title: "Node.js" url: https://docs.catalyst.zoho.com/en/tools/tunneling/implementation/ide-config/nodejs/ description: "Catalyst Tunneling allows you to debug Non-HTTPS and Integration functions by routing function calls to your local system using a rever-proxy provider's tunneling URL." last_updated: 2026-08-17T12:16:04Z service: All Services type: general --- # Configure IDE to Debug Node.js Functions For the purposes of this help documentation we are going to illustrate how to configure debugging preferences of Node.js non-HTTPS and Integration functions in Visual Studio Code. > **Note:** This step is only applicable if you wish to **debug your tunneled functions** and if you have used the following CLI command: ```sh catalyst functions:shell --tunnel tunnel-port-number --debug port-number ``` If you wish only to tunnel your functions and you have used the following CLI command then no IDE configurations is required. ```sh catalyst functions:shell --tunnel tunnel-port-number ``` This command will **only tunnel your functions** and publish the logs of the functions in the Catalyst CLI. Configure your VS Code IDE's debugger in the following manner: 1. Ensure you have all the functions you need to debug in the local machine, and open the concerned project in VS Code. ![catalyst_tunneling_debug_vscode_node_openproject](https://catalyst-docs-development.zohostratus.in/images/catalyst-extension/tunneling/catalyst_tunneling_debug_vscode_node_openproject.webp) 2. Click the **Run/Debug** button present in the menu-bar and create a `launch.json` file, by clicking the "**create a launch.json file**" option. ![catalyst_tunneling_vscode_debug_create_json_high](https://catalyst-docs-development.zohostratus.in/images/catalyst-extension/tunneling/catalyst_tunneling_vscode_debug_create_json_high.webp) This is how the launch.json file appears before you begin configurations. ![catalyst_tunneling_vscode_debug_create_json_high](https://catalyst-docs-development.zohostratus.in/images/catalyst-extension/tunneling/catalyst_tunneling_vscode_debug_create_json_high.webp) 3. Copy the JSON snippet below and paste it as value in the "**configurations**" JSON key. **launch.json** ```json "configurations": [{ "name": "cron_fun", // name can be any name but having the same function name will be helpful while debugging "type": "node", "request": "attach", "address": "localhost", "port": 9001, // The debug port number you specified in the catalyst functions:shell --tunnel 8001 --debug 9001. The port number can be any number which is not being used by any other processes "localRoot": "/Users/jack/tun_cli/functions/cron_fun" //Exact path where the function folder is present }], ``` 4. Save this file and apply the breakpoints in your required lines of code and proceed to the [next step](https://docs.catalyst.zoho.com/en/tools/tunneling/implementation/debug-tunneled-func/nodejs/). ![catalyst_tunneling_debug_vscode_node_brkpts_set](https://catalyst-docs-development.zohostratus.in/images/catalyst-extension/tunneling/catalyst_tunneling_debug_vscode_node_brkpts_set.webp)