Tutorial: Debugging with Intel® Distribution for GDB*
The Auto-Attach feature enables listening to debug events from the GPU.
This feature allows the debugger to launch a gdbserver-gt process to listen to GPU debug events and add the gdbserver-gt target to the debugger as an inferior. This feature is designed to improve your debugging experience.
To trigger auto-attach, unset the INTELGT_AUTO_ATTACH_DISABLE if it has been set before:
unset INTELGT_AUTO_ATTACH_DISABLE