Add a debug_on function to allow for easy catching of errors in the debugger.
Merge pull request #172 from Standard8/add_debugger_fallback_function

Add a debug_on function to allow for easy catching of errors in the debugger