Reputation: 1929
I'm using VS2017 on my Windows PC and trying to debug on a Linux machine.
My app needs to run with higher permissions so how do I tell the debugger to run sudo
with my application?
Upvotes: 1
Views: 1096
Reputation: 36
I found a workaround method.
Sudo instruction for my situation is for open the TTY port. so I use the "chmod o+rw /dev/ttyUSB0" to get the permission of access in VS2017.
VS2017 open tty port successfully without sudo.
You can find which one lib or tools you have to with permission, and then change it through the "chmod" instruction.
Thanks.
Open TTY OK in VS2017 Cross Platform
Upvotes: 2