Add debugging flags to make NSight work automatically

This lets students set breakpoints and use the fancy debugging tools in NSight.  Without this modification, the debugging information was not being generated, and no debugging features were available.