There is a debugger on the Mac. You have to be making a debug build. Put debugstop somewhere in your program and it will call it up.
Note: You cannot see the debugger in fullscreen apps, so debug in windowed mode.
Note: You cannot see the debugger in fullscreen apps, so debug in windowed mode.