modify debug.sh to compile with better debug display on gdb