Doc debug

this pull needs work!  sorry i dont have time to clean it up.
never the less I figured it's worth sharing.

I used this method to track down some tricky bugs in the past..
Most developers dont seem to know about this trick.