- Always use
run.executable(the actual Python binary path) instead ofactivatedRun.executablefor interpreter identification ingetInterpreterDetails,getSettingsPythonPath, andgetExecutableCommand.activatedRun.executablemay be a wrapper command (e.g.pixi run python) set by environment managers like pixi or conda, which breaks the debugger if used as a replacement for the binary. (1)