Jump to content

Formatting debug output


Smoo
 Share

Recommended Posts

Forgive me if this is documented somewhere...
I've spun up a dev instance of our project and turned on debug mode. The way our layouts work, the debug output is covered by some page elements, so I'd like to be able to wrap the notices in a container that I can control the placement of.
Is there a way to control that output? I've looked in Debug.php and that's not helpful - just a bunch of classes relating to timers.
Any guidance appreciated.

Link to comment
Share on other sites

Never needed that but...

  1. almost every error goes straight to /youradminsite/setup/logs/ - you could look there, too
  2. Tracy Debugger makes lifes easier sometimes (confusing at first but worth that confusion)

Those are my favourite/one-and-only ways to handle debug and error messages. 

 

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...