Added option to prevent gdb autostart