Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Serverless VS CodeNew to Visual Studio Code? Get it now.
Serverless VS Code

Serverless VS Code

Mutual of Enumclaw

|
1,536 installs
| (1) | Free
Allows exploration and debugging of serverless functions
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Serverless Framework Extension for VS Code

Version Installs Ratings

This extension enables an integration of Serverless projects with VSCode. It allows exploration and debugging of serverless functions

Installation

In order to install an extension you need to open the extension palette and search for serverless-vscode. You can then install it.

That means, that Serverless must be a development dependency of the project itself. A subsequent version of the extension will also support the globally installed Serverless framework and a configuration for that.

Usage

The Serverless outline

As soon as you have added a Serverless project to your workspace, you can select the serverless icon on the activity bar. This will open up a view which will find all your serverless.yml files and display the functions and environment variables for each function. Expanding the functions will give you the ability to add in tests, and debug those tests in vscode.

Variable resolution (Resolve)

Variable resolution is performed by the serverless framework. It is recommended that you use the @moe-tech/serverless-plugin-local-env plugin, as it will resolve resource references.

Adding Test Cases

Under each function are the Environment and Tests sections. Hovering your mouse over the tests will reveal an action to the right to be able to add or modify your tests.

Debug function

Debugs the selected function's test with serverless invoke local command.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft