Velocity in VS Code

Navigate debugging with Velocity in VS Code

These areas in your IDE help you work with Velocity:

Velocity panel

Use the IDE activity bar to access and quickly configure Velocity configurations, edit configurations, switch between different configurations, troubleshoot configurations with issues, and run configurations.

Select the Velocity icon from the Activity Bar on the side of VS Code. The Velocity tab opens in the sidebar.

VS Code Run and Debug tab

During a run and debug session, Velocity integrates into the native Visual Studio Code toolbar and adds the Velocity functionality to it. To work with Velocity, select the Run and Debug icon from the Activity Bar on the side of VS Code.

The Run and Debug tab opens in the sidebar:

The toolbar also opens. Different actions are available depending on the language that you're editing:

During a Velocity session, you will see the following options in the Velocity toolbar (all native to VS Code):

  • For uncompiled (interpreted) languages, such as Python and Node.js, click Sync & Restart to sync the local project files to your remote container without waiting for a full remote rebuild of the image. Once the files are synced, the remote process restarts and code changes are made locally. For faster update times, if your code change does not require a rebuild of the image, we recommend using the Sync & Resart functionality.

VS Code menus

Velocity enables you to run your application and observe it in action, or to debug your application as it runs. By default, when you run a Velocity configuration, it launches with debugging enabled. You can use the native VS Code Run menu to run without debugging.

Alternatively, navigate to the Velocity tab to run without debugging and to access additional options:

View output

From VS Code, you can view debug events and application issues from the Debug Console and Problems tab, and you can view the Velocity session from the Terminal.

Last updated