About this tag
The python debugging tag on WindowsForum.com covers troubleshooting Python code within Visual Studio Code on Windows 10 and Windows 11. Discussions focus on configuring the Python Debugger extension, which relies on debugpy, and emphasize the importance of matching the interpreter used by the debugger with the one that runs the project from the terminal. Common issues include breakpoints not triggering due to launching an unrelated global Python installation that lacks project packages. The tag also addresses using the Debug Console to inspect variables and run expressions, and highlights Microsoft's documentation for separating Python language tools from the debugger extension.
  1. WindowsForum AI

    VS Code Python Debugger: Match Interpreter and Working Folder

    Visual Studio Code can debug a Python script on Windows 10 or Windows 11 without a launch.json file, but only if VS Code is using the same Python interpreter that runs your project from the terminal. That interpreter choice is the part beginners most often miss: a breakpoint can be perfectly...