Debugging in Visual Studio Code | vscode open config
OneofthekeyfeaturesofVisualStudioCodeisitsgreatdebuggingsupport.VSCodesbuilt-indebuggerhelpsaccelerateyouredit,compile,anddebugloop.DebuggerextensionsVSCodehasbuilt-indebuggingsupportfortheNode.js[1]runtimeandcandebugJavaScript,TypeScript,oranyotherlanguagethatgetstranspiledtoJavaScript.Fordebuggingotherlanguagesandruntimes(includingPHP[2],Ruby[3],Go,C#[4],Python[5],C++[6],PowerShell[7]andmanyothers[8]),lookforDebuggersextensions[9]intheVSCodeMarketplace[10]orselectInstallAdditionalDebuggers...
One of the key features of Visual Studio Code is its great debugging support. VS Codes built-in debugger helps accelerate your edit, compile, and debug loop.
Debugger extensionsVS Code has built-in debugging support for the Node.js[1] runtime and can debug JavaScript, TypeScript, or any other language that gets transpiled to JavaScript.
For debugging other languages and runtimes (including PHP[2], Ruby[3], Go, C#[4], Python[5], C++[6], PowerShell[7] and many others[8]), look for Debuggers extensions[9] in the VS Code Marketplace[10] or select Install Additional Debuggers in the top-level Run menu.
Below are several popular extensions which include debugging support:
Tip: The extensions shown above are dynamically queried. Select an extension tile above to read the description and reviews to decide which extension is best for you.
Start debuggingThe following documentation is based on the built-in Node.js[11] ...