add some initial debugging support