Skip to content

[Mono] [Debug] VS Code debugger for Mono does not attach  #93615

Open

Description

Description

Following guide on debugging libraries with VS Code running on Mono, the VS Code debugger starts for 1-2 seconds but can't attach to localhost and the command is left hanging. Similar issue is described in dotnet/vscode-csharp#4903.


cc: @ivanpovazan @fanyang-mono

Reproduction Steps

Follow the guide at https://github.com/dotnet/runtime/blob/main/docs/workflow/debugging/libraries/debugging-vscode.md#debugging-libraries-with-visual-studio-code-running-on-mono.

Expected behavior

Debugger attaches and allows developer to debug libraries code.

Actual behavior

Debugger starts for 1-2 seconds but cannot attach.

Regression?

No response

Known Workarounds

Similar to dotnet/vscode-csharp#4903 (comment). Removing signatures from ms-vscode.mono-debug-0.16.3 extension binaries and re-signing with own code signing certificate.

Configuration

  • .NET: 8.0.100-rc.1.23415.11
  • OS: macOS Sonoma 14.0
  • CPU: arm64 Apple M2 Max chip
  • VS Code 1.83.1
  • Mono Debug extension v0.16.3

Other information

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions