Cleaning up some of the multi-lines and adding a few additional debug lines
Instead of enabling debug, set an action to use when debug requests are made - this does break any previous use of WithDebug