Running nvim-dap as root #1300
Unanswered
TimKirathe
asked this question in
Q&A
Replies: 1 comment 1 reply
-
I don't think DAP supports that. You can run gdbserver yourself with any privileges you want, and then connect to it using gdbserver path in DAP adapters. And why do you need privileges in general? It doesn't make sense unless you need gdb itself to attach to something. And even then, you can relax yama temporarily. See: https://www.kernel.org/doc/html/latest/admin-guide/LSM/Yama.html |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello! I'm currently working on a c++ project that requires my debugger to be run as root in order to work. I'm using vscode-cpptools, with the nvim-dap-ui plugin as well. Is there is a way to make nvim-dap run my debugger as root/with root privileges?
Beta Was this translation helpful? Give feedback.
All reactions