Talk:Visual Studio Code

From ArchWiki
Jump to navigation Jump to search

C# debugging extra package

The page currently says "If you want to debug C# code install icu55AUR otherwise you will end up with a 'Debug adapter process has terminated unexpectedly' error". I installed VS Code for the first time about a few weeks ago and I didn't even read this part of the wiki page because I just installed the "visual-studio-code" package from the AUR and it worked fine. The first project I tried to create was a C# one (ASP.NET Core). Debugging worked fine.

Could this be outdated information?

--Welkie (talk) 19:00, 14 October 2017 (UTC)

Seems to be fixed since [1]. -- Lonaowna (talk) 11:59, 28 January 2019 (UTC)


Has anyone gotten debugging working with code (open-source release)?

The official (AFAIK) debugger vsdbg is not included in the open-source release:

Is it not possible to download vsdbg manually? Eg.

Aude (talk) 08:27, 8 May 2019 (UTC)

I managed to do it using netcoredbgAUR, though it's not very well documented.
The way I did was by adding this to the default launch configuration for .NET Core:
"pipeTransport": {
    "pipeCwd": "${workspaceFolder}",
    "pipeProgram": "/usr/bin/bash",
    "pipeArgs": ["-c"],
    "debuggerPath": "/usr/bin/netcoredbg"
This will trick Code into running netcoredbg instead of vsdbg. From what I understand pipeTransport is used for SSH configurations, but you can use a shell just the same to take advantage of debuggerPath.
Luluco250 (talk) 16:11, 7 September 2019 (UTC)