New function to debugging output that might be a bit
too much for normal debugging, so it is only shown
along with the other debuggin output if PANEL_DEBUG
contains the name of the key.
With PANEL_DEBUG=gdb plugin will be started in gdb
and log files (with backtrace and register dump) are
automatically stored in /tmp.
Some functionality will not be available, like
automatically restart the plugins.
Also cleanup the debug level handling a bit, so it is
easier to extend and make struts debugging work again.
Internal function for debugging support. It supports debug
domain filtering through the PANEL_DEBUG environment variable
(PANEL_DEBUG=1 for all debug output and for example
PANEL_DEBUG=positining:struts for only the positioning and struts
debug messages.
For now this is always enabled (ie. compiled) so everyone can easily
give me debug output without recompiling.