start a tunnel to connect your local code with the app running in the development environment
1 2Usage: forge tunnel [options]
1 2--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: