We don't allow debug output during tests since it would be easy to output the testing data and allow for people to code to the test instead of coding a general solution.
If you want to see debug output you'll need to "trigger" the code by interacting with the web application. For example, if the code is for login authentication, you'll need to try to login to the web app to see the output.