Details
-
Improvement
-
Resolution: Unresolved
-
Medium
-
None
-
4.0.0
-
None
Description
It would be nice to
- give user more formatting possibilities beside plain text and html for debug info
- not to presume that index.php will display debug in html mode if "inline" or "popup" is selected in ini file
- allow user to specify a filter to be run on debug output before it is echoed into the results. This way user can echo the debug info inside a javascript or xml comment without fear of it breaking outside of the comment
proposed solution ==>
- in index.php, let eZDisplayDebug() use a new ini var to decide format of debug output, eg DebugFormat. defaults to 'html'. This is orthogonal to inline/popup
- pass the said format as param to ezdebug::printreport and ezdebug::printreportinternal instead of the $as_html param (use polimorphism magic to keep api backwards compatible, translating true => format = "html" and false => format = "text"
- add a filtering mechanism on debug output based on a new ini setting (as a new function of ezdebug)
Attachments
Issue Links
- relates to
-
EZP-11964 Make debug output more third-party app friendly
- Closed
-
EZP-18935 Improvde debug report: readability, accuracy
- Open
-
EZP-11964 Make debug output more third-party app friendly
- Closed
-
EZP-12020 eZ Debug feature request
- Closed
-
EZP-12419 make it easier to create xml / json interfaces
- Closed