Add a mode for debugging the extremely flaky netcoredbg
This commit is contained in:
parent
6709b45c77
commit
fa92c2a8d5
1 changed files with 46 additions and 19 deletions
|
|
@ -1,25 +1,52 @@
|
||||||
{
|
{
|
||||||
"configurations": {
|
"adapters": {
|
||||||
"launch - netcoredbg": {
|
"netcoredbg-debuglog": {
|
||||||
"adapter": "netcoredbg",
|
"attach": {
|
||||||
"configuration": {
|
"pidProperty": "processId",
|
||||||
"request": "launch",
|
"pidSelect": "ask"
|
||||||
"program": "${workspaceRoot}/bin/Debug/netcoreapp2.2/csharp.dll",
|
|
||||||
"args": [],
|
|
||||||
"stopAtEntry": true
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
"launch - mono": {
|
"command": [
|
||||||
"adapter": "vscode-mono-debug",
|
"${gadgetDir}/netcoredbg/netcoredbg",
|
||||||
"configuration": {
|
"--interpreter=vscode",
|
||||||
"request": "launch",
|
"--engineLogging=${workspaceRoot}/netcoredbg.engine.log",
|
||||||
"program": "${workspaceRoot}/Program.exe",
|
"--log=${workspaceRoot}/netcoredbg.log"
|
||||||
"console": "integratedTerminal",
|
],
|
||||||
"cwd": "${workspaceRoot}",
|
"configuration": {
|
||||||
"args": [],
|
"cwd": "${workspaceRoot}"
|
||||||
"env": {}
|
},
|
||||||
}
|
"name": "netcoredbg"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"configurations": {
|
||||||
|
"launch - netcoredbg": {
|
||||||
|
"adapter": "netcoredbg",
|
||||||
|
"configuration": {
|
||||||
|
"request": "launch",
|
||||||
|
"program": "${workspaceRoot}/bin/Debug/netcoreapp2.2/csharp.dll",
|
||||||
|
"args": [],
|
||||||
|
"stopAtEntry": true
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"launch - netcoredbg - with debug log": {
|
||||||
|
"adapter": "netcoredbg-debuglog",
|
||||||
|
"configuration": {
|
||||||
|
"request": "launch",
|
||||||
|
"program": "${workspaceRoot}/bin/Debug/netcoreapp2.2/csharp.dll",
|
||||||
|
"args": [],
|
||||||
|
"stopAtEntry": true
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"launch - mono": {
|
||||||
|
"adapter": "vscode-mono-debug",
|
||||||
|
"configuration": {
|
||||||
|
"request": "launch",
|
||||||
|
"program": "${workspaceRoot}/Program.exe",
|
||||||
|
"console": "integratedTerminal",
|
||||||
|
"cwd": "${workspaceRoot}",
|
||||||
|
"args": [],
|
||||||
|
"env": {}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue