WRT JIT Debugging on Windows:
So, even thought I enabled JIT in Visual Studio, native application crashes where just silently terminating.
I don't know in what world this makes sense - crazy.
I found:
https://docs.microsoft.com/en-us/windows/desktop/Debug/configuring-automatic-debuggingCreating an string key Auto == "1" under *both*
HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AeDebug
HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows NT\CurrentVersion\AeDebug
is necessary.
Now, when foo.exe crashes, I get the nice dialog that lets me debug the crashed process.
I have no idea why this is needed now, seems like there used to always be a dialog on process crashes.