Gdb attach

When it is built with Debug, we can attach GDB to the executable for debugging:

sudo gdb -ex continue <path_to_executable> $(pidof <process_name>)

Comments