Skip to content

Remote Debugging

Nathan edited this page Dec 7, 2020 · 7 revisions

Connect the Visual Studio Code debugger to your apps running on Azure App Service on Linux. The debugger works the same as when it's connected to a local Node.js process - including the use of Breakpoints and Logpoints.

Supported runtimes

Currently, only Node.js >=8.11 on Linux is supported.

Python support is currently experimental and can be enabled with the use of the appService.enablePythonRemoteDebugging setting.

Starting a remote debugging session

Once your app is deployed, right-click the app in the App Service explorer and select "Start Remote Debugging." This process requires that the app be restarted with the debugger enabled - you'll be prompted to confirm the restart.

Start remote debugging

Once restarted, Visual Studio Code will connect to the app's debugging port via an SSH tunnel. It may take a little time to establish the connection. Once connected, Visual Studio Code will switch into debugging mode and work the same as it does when debugging an app locally.

Remote breakpoints

When you're ready to end your remote debugging session, disconnect from the debugger as you would normally and confirm that you want to restart the app.

Clone this wiki locally