

If you don't yet have any configurations defined, you'll see a button to Run and Debug and a link to create a configuration (launch.json) file: To initialize debug configurations, first select the Run view in the sidebar: Note: To change debugging configuration, your code must be stored in a folder. Configurations are defined in a launch.json file that's stored in a. Initialize configurationsĪ configuration drives VS Code's behavior during a debugging session. This article mainly addresses Python-specific debugging configurations, including the necessary steps for specific app types and remote debugging. Both tutorials demonstrate core skills like setting breakpoints and stepping through code.įor general debugging features such as inspecting variables, setting breakpoints, and other activities that aren't language-dependent, review VS Code debugging. For a short walkthrough of basic debugging, see Tutorial - Configure and run the debugger. The Python extension supports debugging of several types of Python applications.
