1.5 KiB

Read this on the main serverless docs site

Serverless Console Dev Mode

The serverless dev command will launch a Serverless Console Dev Mode session in your terminal.

serverless dev

Options

  • --org The organization that your AWS account is associated with in Serverless Console.
  • --region or -r The region in that your function was deployed to.
  • --stage or -s The stage in your service was deploy to.
  • --function or -f The name of the function that you want to focus your dev mode activity on. If this option is excluded then all function activity will be streamed to your terminal.
  • --verbose or -v If this flag is included all span input/output and lambda request/response data will be streamed to the terminal.

Examples

Start dev mode interactively selecting an organization

serverless dev

Start dev mode with an org pre selected

serverless dev --org myorg

Start dev mode with an org pre selected and all input output information logged

serverless deploy function --function helloWorld --update-config