Marco's Extended Debug for Joomla

debug for joomlaQuesto plugin estende le funzionalità di base del plugin Debug distribuito con Joomla, aggiungento diverse informazioni quali il dump delle variabili GPC (get, post, cookie), ildump delle variabili di sessioni, ma, soprattutto, la possibilità di limitare l'invio delle informazioni di debug a determinati IPs o a specifici networks  .



(Versione Italiana: a breve, spiacente)

debug for joomla, with ip network check

Extended Debug Info for Joomla!

This extension is also published on, if you like it, vote it or write a review, thank you.

Marco's Extended Debug is a partial rewrite of the base System - Debug plugin distributed with Joomla!.
It extends the basic functionality by adding other information such as the dump of GPC variables  (GET, POST, cookies), the dump of the session variable, but, above all, adds the ability to limit sending debug information to specific IPs or networks, so you can use it on production machines. It can also send debug info to: front end only, back end only or to both interfaces.

From version 2.6 Marco's Extended Debug can also log PHP errors, this avoid that php error messages break page layout or block jscript, ajax or jquery. You can also set how many error to log: this avoid 'infinite' html page if the error is in a loop like for, foreach or while!

please note, from PHP site: The following error types cannot be handled with a user defined function: E_ERROR, E_PARSE, E_CORE_ERROR, E_CORE_WARNING, E_COMPILE_ERROR, E_COMPILE_WARNING, and most of E_STRICT raised in the file where set_error_handler() is called.


  • Can limit output to single IPs like or entire networks like or combinue values
  • Can limit output to front end, back end or send it to both
  • Dumps requests in $_POST, $_GET, $_COOKIES
  • Dumps VALUES in $_SESSIONS
  • Dumps remote client info (IP, referres, method)
  • Add specific css classes and IDs for better reading (add also css file)
  • log php errors (v2.6+)

It's a developers' plugin.    

Additional Set up

  • Side to display information
    side to which send debug information (Both, BackEnd, FrontEnd)
  • Display only to specific IP(s):
    comma separed list of IP which should display debug info; you can insert single IPs or networks:, means and ALL IPs from to (no broadcast, zero by your router config)
    Surely this is one of the most important enhancement
  • Display remote client Information
    Display remote address, browser type, referrer, query string and  method (GET, POST)
  • Dump NameSpaces
    options are:
    • Get
    • Post
    • Cookie
    • Request
    • Get, Post
    • Get, Post, Request
    • Get, Post, Cookie
  • Select which superglobal arrays to inspect and dump.
  • Display Session vars
    Dumps values in $_SESSIONS array
  • Log PHP Errors
    log php errors avoid output messages in the middle of HTML
    Surely this is one of the most important enhancement
  • Max error to log
    max error to log before to stop to log this kind of error (usefull for errors in loops)
  • Side to display information:
    Send debug info to: front end, back end, both
  • Add additional css
    Add a css for formatting. some templates/plugins save js and css in cache for preformance, so REMEMBER to empty /cache dir after enable/modify css

Standard Set up

Please, refer to Joomla! docs for standard settings.


Quick instructions

  1. install the plugin, set the same execution order of  'System - debug' default plugin
  2. enable it ;)
  3. disable   'System - debug' default plugin
  4. enable debug in Global Configuration - System
  5. on production machine fill the 'Display only to specific IP(s)' field with your IP or network



Version 2.6 (Nov 2nd, 2013)  Joomla! 2.5 release

  • PHP Error Logging

Version 2.5.1 (Sep 26th, 2013)  Joomla! 2.5 release

  • Side selection
  • Disable CPG

Version 2.5.0 (Sep 25th, 2013)  Joomla! 2.5 release

Version 1.5.1 (Sep 5th, 2010)  first release for Joomla! 1.5


Download Marco's Extended Debug for Joomla!

Joomla! 2.5


Joomla! 1.5 (discontinued)




0 #6 Guest 2014-03-04 08:44
Thanks Marco,

That worked!(althoug h there are some typos in the link you send me)

How can i see the slowest queries fast? It would be nice to have such a feature!
0 #5 Guest 2014-02-18 07:31
Hello Marco, great plugin, just made a review on Joomla site ;)

Question: how can we see the time required for each query? Would be really nice and useful to find slow queries!


Hi Chris,
thank you a lot for the review!

you can't log the time used by each query without a little hack to the joomla code.
I wrote an article about this:

It's in Italian, but you can use Google to translate it: it's no Shakespeare, sure, but you can read it.

have a nice day,
0 #4 Guest 2014-01-06 06:21
This is amazing. Thanks a lot. Very useful
0 #3 Guest 2013-12-10 17:24
this is a great plugin but how can I remove the strict standards php errors in the public website when debug mode is on ?

This kinds of defeats the use in a production website with php 5.4 ?

most of E_STRICT error types cannot be handled with a user defined function, this is a PHP restriction.
Anyway you can change line 90 of the plugin and replace the last "-1" with the preferred combination of error costants (see PHP manual).

In a production site? a warning means: something could go wrong...
take your own considerations.

PS: if you like it, vote it or write a review... ;)

0 #2 Guest 2013-10-30 15:30
i like the plugin alot... though it would be nice, if php errors could also be a part of this, so that they could be showed too, when debugging.

Thank you, this is really a great idea ;)
now version 2.6 can do it!

0 #1 Guest 2010-12-08 21:29
Could be usefull thanks!

Aggiungi commento

Please note: URL in text are not linked and user's site address is only for internal use and is not published.

Comments are human checked. All spam will be removed, so don't waste your time and, especially, mine!

Codice di sicurezza