I'm trying to debug asp.net core application running in azure ubuntu vm via SSH and when I try to attach to the process I get this error message in Visual Studio 2017:
Failed to attach to process: The .NET Debugger (vsdbg) has insufficient privileges to debug this process. To debug this process, vsdbg must be running with root permissions.
I've given 'vsdbg' read & write permissions but still the error persists, how can I give this process root permissions, so that, I can debug the application.
I have just resolve the problem. In my case the problem was with user logged in. On Linux and on VS usernames must be the same. I was logged inside Linux as root and on VS as different username. After change Linux user the debugging process starter normally.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With