I am trying to use -debug but it is not giving me any output. I tried to manually start gdb and attach a session and I get the following error:
I looked at the ptrace_scope file and its blank.Could not attach to process. If your uid matches the uid of the target
process, check the setting of /proc/sys/kernel/yama/ptrace_scope, or try
again as the root user. For more details, see /etc/sysctl.d/10-ptrace.conf
ptrace: Operation not permitted.