mirror of
https://github.com/serverless/serverless.git
synced 2025-12-08 19:46:03 +00:00
1.5 KiB
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
--orgThe organization that your AWS account is associated with in Serverless Console.--regionor-rThe region in that your function was deployed to.--stageor-sThe stage in your service was deploy to.--functionor-fThe 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.--verboseor-vIf 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