Start DnSpy and immediately attach to process

971 Views Asked by At

I'd like to use DnSpy as a debugger with my homegrown C# IDE. I'd like to be able to start DnSpy programmatically from my IDE and automatically attach it to the process that executes the compiled user code.

A quick look at StartUpClass class seems to suggest there are no command line arguments so it looks like it's not possible out of the box to tell dnspy to immediately attach to a process on start.

Is there a recommended way of going about this, or should I fork the repo and add what I need?

0

There are 0 best solutions below