wrangler dev
Start a local server for developing your worker
Options
Name | Description |
---|---|
-c, --config <wrangler.toml> | Path to configuration file [default: wrangler.toml] |
-e, --env <environment> | Environment to perform a command on |
-h, --host <hostname> | Host to forward requests to, defaults to the zone of project or to tutorial.cloudflareworkers.com if unauthenticated |
-i, --ip <ip_address> | IP to listen on. Defaults to 127.0.0.1 |
-p, --port <port> | Port to listen on. Defaults to 8787 |