You could also use the console to print info to the screen. It's very limited, but it'll get you some more info on specific variables.
My game framework contains, among other debugging functions, simple logging options that can be accessed at any time while playing, and automatically gets saved...