'how to debug target from administrator with remote SSH vscode?
I'm wondering how to instruct vscode to launch debugging executable on target (Windows) with admin priveledge while debugging with remote SSH extension?
Solution 1:[1]
I don't think there is easy way to do that, you have only permissions that the account you login into have, so vscode can't launch debug session with more permissions then it has.
You could try to start debugging session with terminal using something like sudo
(or windows equivalent) to elevate your permissions and then attach vscode debugger to already running process, but it isn't always possible.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | Grekkq |