Perhaps another community member can speak on potential issues with the debugger when running on Windows Server 2019 and/or an interserver VPS, but I did want to mention that there is another reason why this may be happening as well:
Note that one reason that the Visual Studio debugger may crash when attaching it to NinjaTrader.exe is if you have an indicator or strategy that has been"protected" in such a way that intentionally causes the Visual Studio debugger to crash. Vendors do this as one more level of protection to protect their code from the prying eyes of their competitors and software pirates.
If this is the reason for your issue, then to fix this, you would need to remove the offending strategy or indicator that is causing the Visual Studio debugger to crash.
Thanks, Actually it is Ninjatrader that is crashing immediately without any error, and all the debugger says is cannot connect to NinjaTrader.exe because it does not exist which is true because it just disappeared.
Its mostly because of x86 and x64 conflict in some dll which is causing ninjatrader to crash, i have many indicators under custom/bin.
But it will be interesting to know if someone has successfully used the debugger on Server 2019, because that will confirm the issue is with some indicator in my ninjatrader.