pub fn debug_here_win_impl()Expand description
Pop open a debugger on windows.
Windows has native just-in-time debugging capabilities via the debugapi winapi module, so we use that instead of manually popping open a termianl and launching the debugger in that.
We perform the same re-entry check as we do for non-windows platforms.
This approach pretty directly taken from: https://stackoverflow.com/questions/20337870/what-is-the-equivalent-of-system-diagnostics-debugger-launch-in-unmanaged-code
Don’t use this directly.