I have a C# application that is using vsjitdebugger to attach a debugger to another process using its pid, like this:
vsjitdebugger -p {pid}
When I do this the debugger selector pops up, and I pick the instance of Visual Studio that has the project I want to debug open.
Everything appears to work, Visual Studio does attach, but no breakpoints are working.
If I manually attach using Debug > Attach to process... it works as expected.
How can I get vsjitdebugger to work the same way as Debug > Attach to process...?