更新时间:2023-09-15 14:48:52
我做了以下事情:
pkexec/usr/bin/gdb "$@"
...
"externalConsole": false,
"miDebuggerPath": "/home/<username>/gdb",
"MIMode": "gdb",
...
top
等来验证进程是否以 root 身份运行.top
or such like to verify the process is running as root.应该够了.