Debugging with text output