You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I installed cdt-gdb-vscode in VS Code on Windows, and opened a folder in Remote WSL mode. Then start debugging, gdb says ptrace: Operation not permitted. The same warning is shown when I use bash instead. But in bash, debugging session works via sudo gdb attach xxxcommand. So how to launch "sudo gdb" to start debugging? Thanks for replying!
I installed cdt-gdb-vscode in VS Code on Windows, and opened a folder in Remote WSL mode. Then start debugging, gdb says
ptrace: Operation not permitted
. The same warning is shown when I use bash instead. But in bash, debugging session works viasudo gdb attach xxx
command. So how to launch "sudo gdb" to start debugging? Thanks for replying!launch.json configurations is:
The text was updated successfully, but these errors were encountered: