When I attempt to run a MacOS command line application in the debugger, I am never able to attach to the debugger.
I get these errors in the console:
Message from debugger: unable to attach
Program ended with exit code: -1
When I edit the scheme and change the Run configuration to use "root" instead of my username, it works fine.
How do I resolve this (to use the debugger as myself, not root)?
I assumed it was as simple as enabling developer mode;
however, that did not resolve the issue:
LOC-C02QM212G8WL:Release doucettec$ DevToolsSecurity -enable
Developer mode is already enabled.
LOC-C02QM212G8WL:Release doucettec$ DevToolsSecurity -disable
Developer mode is now disabled.
LOC-C02QM212G8WL:Release doucettec$ DevToolsSecurity -enable
Developer mode is now enabled.