Add a script permitting 'sudo' debugging in VSCode

This commit is contained in:
Serge Lamikhov-Center 2021-09-20 20:48:41 +03:00
parent 53d3bb407c
commit 18a691314f

3
examples/proc_mem/sudo_gdb.sh Executable file
View File

@ -0,0 +1,3 @@
# The file is used for VSCode debugging ability. Use it as following:
# "miDebuggerPath": "/home/user/ELFIO/proc_mem/sudo_gdb.sh"
sudo /usr/bin/gdb "$@"