Improve attach to "Run Target". Now it's possible to debug a terminal application by using this attach.

This commit is contained in:
Martín Lucas Golini
2025-02-05 02:08:31 -03:00
parent eae433796e
commit 72c1d9fd3f
7 changed files with 29 additions and 18 deletions

View File

@@ -20,21 +20,6 @@
"env": "${env}"
}
},
{
"name": "Attach to Name",
"request": "attach",
"arguments": {
"program": "${file}"
}
},
{
"name": "Attach to Name (wait)",
"request": "attach",
"arguments": {
"program": "${file}",
"waitFor": true
}
},
{
"name": "Attach to PID",
"request": "attach",
@@ -87,15 +72,17 @@
}
},
{
"name": "Attach to Name",
"name": "Attach to binary",
"request": "attach",
"runTarget": true,
"arguments": {
"program": "${file}"
}
},
{
"name": "Attach to Name (wait)",
"name": "Attach to binary (wait)",
"request": "attach",
"runTarget": true,
"arguments": {
"program": "${file}",
"waitFor": true
@@ -198,7 +185,7 @@
}
},
{
"name": "Attach",
"name": "Attach to PID",
"command_arguments": ["--pid", "${command:pickProcess}"],
"request": "attach",
"arguments": {