Skip to content

Commit aab6b6d

Browse files
committed
feat(vscode): debugger now uses the new Python Debugger extension as default debugger for python
Microsoft rewrites the debugger extension for python and this will be the new standard extension for debugging python code. see [here](https://marketplace.visualstudio.com/items?itemName=ms-python.debugpy)
1 parent b4f9c5c commit aab6b6d

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1319,12 +1319,11 @@
13191319
},
13201320
{
13211321
"name": "RobotCode: Python",
1322-
"type": "python",
1322+
"type": "debugpy",
13231323
"request": "attach",
13241324
"presentation": {
13251325
"hidden": true
1326-
},
1327-
"justMyCode": true
1326+
}
13281327
}
13291328
],
13301329
"configurationSnippets": [
@@ -1438,7 +1437,8 @@
14381437
"test": "node ./out/test/runTest.js"
14391438
},
14401439
"extensionDependencies": [
1441-
"ms-python.python"
1440+
"ms-python.python",
1441+
"ms-python.debugpy"
14421442
],
14431443
"dependencies": {
14441444
"ansi-colors": "^4.1.3",

vscode-client/debugmanager.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -577,7 +577,7 @@ export class DebugManager {
577577
const debugConfiguration: vscode.DebugConfiguration = {
578578
...pythonConfiguration,
579579
...{
580-
type: "python",
580+
type: "debugpy",
581581
name: `Python ${session.name}`,
582582
request: "attach",
583583
connect: {

0 commit comments

Comments
 (0)