start a tunnel to connect your local code with the app running in the development environment
1
Usage: forge tunnel [options]
1 2 3 4 5 6
--verbose enable verbose mode -e, --environment [environment] specify the environment (see your default environment by running forge settings list) -d, --debug enable debugger mode -f,--debugFunctionHandlers <debugFunctionHandlers...> list of function handlers declared on manifest to debug, separated by space. This option must be specified if debug mode is enabled. It is only used for Node runtime debugger -p,--debugStartingPort [debugStartingPort] starting port to use for debugging, multiple handlers will get subsequent ports. It is only used for Node runtime debugger (default: "9229") -h, --help display help for command
For CLI versions 10.1.0
and beyond, tunnels running on Cloudflare do not require additional setup.
Rate this page:
Our new navigation is here to guide you on your developer journey. Dive in and explore the refreshed Forge documentation!