Skip to content

Commit 1f1df4b

Browse files
authored
Python launch config is deprecated (#1465)
## Changes `debugpy` is the new python debugger, and `python` launch config type is deprecated - https://marketplace.visualstudio.com/items?itemName=ms-python.debugpy Python extension already depends on it, but I'm still adding it as an explicit dependency to our extension too ## Tests Manual testing
1 parent 9db90f8 commit 1f1df4b

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

packages/databricks-vscode/package.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -963,6 +963,19 @@
963963
}
964964
}
965965
}
966+
},
967+
{
968+
"type": "debugpy",
969+
"configurationAttributes": {
970+
"launch": {
971+
"properties": {
972+
"databricks": {
973+
"type": "boolean",
974+
"description": "Setup databricks environment variables and globals."
975+
}
976+
}
977+
}
978+
}
966979
}
967980
],
968981
"configuration": [
@@ -1041,6 +1054,7 @@
10411054
},
10421055
"extensionDependencies": [
10431056
"ms-python.python",
1057+
"ms-python.debugpy",
10441058
"ms-toolsai.jupyter",
10451059
"redhat.vscode-yaml"
10461060
],

packages/databricks-vscode/src/run/RunCommands.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ export class RunCommands {
139139
}
140140
const config: DatabricksPythonDebugConfiguration = {
141141
program: targetResource.fsPath,
142-
type: "python",
142+
type: "debugpy",
143143
name: "Databricks Connect",
144144
request: "launch",
145145
databricks: true,

0 commit comments

Comments
 (0)