debugger: Add args argument to debugger launch config (#27953)

This also fixes a bug where debug cargo test code actions would debug
all tests in a mod instead of a specific test

Release Notes:

- N/A
This commit is contained in:
Anthony Eid
2025-04-02 15:37:12 -04:00
committed by GitHub
parent 500964a6fa
commit 108ae0b5b0
15 changed files with 42 additions and 17 deletions
+1
View File
@@ -130,6 +130,7 @@ impl DebugAdapter for PythonDebugAdapter {
DebugRequestType::Launch(launch_config) => {
json!({
"program": launch_config.program,
"args": launch_config.args,
"subProcess": true,
"cwd": launch_config.cwd,
"redirectOutput": true,