Have you tried running the IDE itself as admin?
I just tested with an IDE as normal user:
- "Run without debugger" fails silently
- gdb also can not launch an app that is marked to require admin privileges.
I haven't done any research, if/how a non admin app (e.g., the IDE running as normal user) can start an app that needs admin rights. It may be possible, but it needs research.
There are some functions in the WinApi, but I don't know if they will allow a non privileged debugger to be attached.
I would expect that the debugger must be privileged as well.
If you don't want the IDE to be privileged, then you probably can run gdbserver (from a privileged command line), and connect to that. (using the IDE gdb server backend).