Update debug.js

- made compatible with common.js 0.3.2
- improved stack-tracing
+ println.exc(new Error());