Skip to content

Commit 1edd723

Browse files
authored
Merge branch 'main' into trunk
2 parents 608bca8 + 421eabb commit 1edd723

3 files changed

Lines changed: 56 additions & 52 deletions

File tree

package-lock.json

Lines changed: 47 additions & 49 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -523,6 +523,11 @@
523523
"description": "Absolute path to the program.",
524524
"type": "string"
525525
},
526+
"code": {
527+
"default": "",
528+
"description": "Python code to execute in string form.\nExample: \"import debugpy; print(debugpy.__version__)\"",
529+
"type": "string"
530+
},
526531
"purpose": {
527532
"default": [],
528533
"description": "Tells extension to use this configuration for test debugging, or when using debug-in-terminal command.",
@@ -652,7 +657,7 @@
652657
"@types/chai-as-promised": "^7.1.0",
653658
"@types/fs-extra": "^11.0.4",
654659
"@types/glob": "^7.2.0",
655-
"@types/lodash": "^4.14.104",
660+
"@types/lodash": "^4.17.24",
656661
"@types/mocha": "^9.1.0",
657662
"@types/node": "^22.5.0",
658663
"@types/semver": "^5.5.0",
@@ -686,7 +691,7 @@
686691
"fs-extra": "^11.2.0",
687692
"iconv-lite": "^0.6.3",
688693
"jsonc-parser": "^3.0.0",
689-
"lodash": "^4.17.23",
694+
"lodash": "^4.18.1",
690695
"vscode-languageclient": "^8.0.2"
691696
}
692697
}

src/extension/types.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,9 +91,10 @@ interface IKnownLaunchRequestArguments extends ICommonDebugArguments {
9191
sudo?: boolean;
9292
pyramid?: boolean;
9393
workspaceFolder?: string;
94-
// An absolute path to the program to debug.
9594
module?: string;
95+
// An absolute path to the program to debug.
9696
program?: string;
97+
code?: string;
9798
python?: string;
9899
// Automatically stop target after launch. If not specified, target does not stop.
99100
stopOnEntry?: boolean;

0 commit comments

Comments
 (0)