When I’ve faced this situation before (and I controlled both processes), I found a decent workaround is to put a call to Debugger.Launch() in the spawning process’ entry point. VS will then pop up a dialog box and let you attach to the process.
More Related Contents:
- How do I remedy “The breakpoint will not currently be hit. No symbols have been loaded for this document.” warning?
- Why does .NET add an additional slash to the already existent slashes in a path?
- What is the best way to dump entire objects to a log in C#?
- What is the purpose of the vshost.exe file?
- Why is cross thread operation exception not thrown while running exe in bin\Debug
- Visual Studio debugging “quick watch” tool and lambda expressions
- Blue screen when using Ping
- How can I write output from a unit test?
- Writing to output window of Visual Studio
- Program and debugger quit without indication of problem
- Can the Visual Studio Debugger display strings unquoted/unescaped?
- Uniquely Identifying Reference Types in the Debugger
- How to debug class library that called from external app?
- Can I commit changes to actual database while debugging C# in Visual Studio?
- Visual Studio 2015 diagnostics tool does not support current debugging configuration
- F5 or Start Debugging Button is Greyed Out for Winform application?
- Visual Studio : executing clean up code when debugging stops
- Should I compile release builds with debug info as “full” or “pdb-only”?
- Performance differences between debug and release builds
- Cannot step into .NET framework source code
- Don’t stop debugger at THAT exception when it’s thrown and caught
- What could be causing a System.TypeLoadException?
- Auto Versioning in Visual Studio 2017 (.NET Core)
- Cannot find .cs files for debugging .NET source code
- Debug Windows Service
- Could not load file or assembly ‘Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed’ or one of its dependencies
- How to create an installer for a .net Windows Service using Visual Studio
- How to setup the starting form of a winforms project in Visual Studio 2010
- C# tutorial to write gadgets
- Missing XML comment for publicly visible type or member