Detail view for Errors

Nick's Avatar


27 Jun, 2015 04:46 PM

Maybe I'm missing something, but how do you view the stack trace of an error, specifically for PHP?

  1. Support Staff 1 Posted by potsky on 27 Jun, 2015 05:44 PM

    potsky's Avatar

    Hi !

    Several things :

    1. Stack traces in PHP are displayed by default with xdebug

    2. PimpMyLog skips stack traces by default by excluding these lines in the Apache config file for example.

    So to enable PHP ST, edit your config.user.php file and remove these lines for example :

                 "exclude": {
                        "Log": ["\/PHP Stack trace:\/", "\/PHP *[0-9]*\\\\. \/"]

    You can play with the multi line parameter to display the ST in a single line of log too.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:


Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac