Translations:KDevelop5/Manual/Debugging programs/23/en

    From KDE UserBase Wiki

    There are two ways to change this on Ubuntu, if you are running a different distribution, your requirements may be different. On Ubuntu, one way is to edit the /etc/sysctl.d/10-ptrace.conf file and change kernel.yama.ptrace_scope to 0. After editing the file run the following command:

    sudo service procps restart

    You should now be able to attach to a running process.