You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Connection refused: OpenDebugAD7 --server --pauseForDebugger [WSL2] how to debug? #1478
However, the attach it's failing when running this with Dotnet extension. I also tried running a GDB with target remote to see if it's able to connect.
changed the title [-]Connection refused: OpenDebugAD7.exe --server --pauseForDebugger [/-][+]Connection refused: OpenDebugAD7 --server --pauseForDebugger [WSL2] how to debug?[/+]on Oct 2, 2024
Activity
[-]Connection refused: OpenDebugAD7.exe --server --pauseForDebugger [/-][+]Connection refused: OpenDebugAD7 --server --pauseForDebugger [WSL2] how to debug?[/+]borjamunozf commentedon Oct 2, 2024
Ok, I was able to connect to the running PID of OpenDebugAD7. However, I think the pauseForDebugger option is not really clear...
Steps:
{ "configurations": [ { "name": ".NET Core Attach", "type": "coreclr", "request": "attach", "logging": { "diagnosticsLog": {"debugEngineAPITracing": "all", "debugRuntimeEventTracing": true, "startDebuggingTracing": true} }, "justMyCode": false, "symbolOptions": { "searchPaths": [ "/home/borjamf/MIEngine/bin/Debug/vscode/linux-x64/" ], "searchMicrosoftSymbolServer": false, "searchNuGetOrgSymbolServer": false } },