How to debug modx, which snippets, processors etc were called

1.3k views Asked by At

I need to find where some things happen during execution. Let's say, I'm looking for a line, which drops out user authorizition. It may be some processor like "security/logout", but not neccessary.

How should I debug modx revo ? debug_backtrace() gives me 30+ Mb of text, it's not real to read it.

How to watch quickly all user code, which is stored in database, during execution ?

1

There are 1 answers

0
goldsky On

Either you can turn on debug option on System Settings, or hack a bit the core: http://www.virtudraft.com/blog/unofficial-parser-timer-for-modx-revolution.html