Fixes issue #600.
Debug toolbar WIP
Removed extra code.
debug toolbar wip