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

    From KDE UserBase Wiki

    The other way that is the more secure way is to run:

    echo 0 | sudo tee /proc/sys/kernel/yama/ptrace_scope

    when you want to use the feature, and:

    echo 1 | sudo tee /proc/sys/kernel/yama/ptrace_scope

    when you have completed your need for attaching to a running process.