Visual Studio Code attach to process for debugging .NET Framework

1

I have this idea to use Visual Studio Code as a debugger of a working .NET Framework application.

Let's assume that there is a running process that runs a full .NET Framework 64-bit application. I have all the PDBs. Would it be possible to attach to that process Visual Studio Code debugger and debug that process?

For now, I have tried, with C# extension from OmniSharp launch.json:

{
    "version": "0.2.0",
    "configurations": [
         {
             "name": "Attach to process",
             "type":"clr",
             "request": "attach",
             "processName": "process_name"
         }]
 }

but it ends with:

Unable to start debugging. Failed to attach to process: Unknown Error: 0x8013132e

Anyone mayby tried to achieve the same? Is this even possible? Maybe there is some other plugin that I have skipped?

c#
.net
debugging
visual-studio-code
asked on Stack Overflow Nov 9, 2020 by Artur

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0