brainworxx / kreXX

kreXX is a php debugger with a fatal error handler. It displays debug information about objects and variables in its own draggable output.
http://www.brainworxx.de/
GNU Lesser General Public License v2.1
1 stars 0 forks source link

Restructure configuration options #7

Closed guelzow closed 8 years ago

guelzow commented 8 years ago

I always have to search through the configuration options to find the right settings.

I mean: "skin", "memoryLeft" and "maxRuntime" are in "render"? Why?

This is not about new options or about options doing something else. Its about putting the old options into new groups and sorting them.

Tobi

guelzow commented 8 years ago

Imported from: https://sourceforge.net/p/krexx/tickets/35/

guelzow commented 8 years ago

Looks a lot smother now (I think):

array(
    'runtime' => array(
      'disabled' => 'false',
      'detectAjax' => 'true',
      'level' => '5',
      'maxCall' => '10',
      'memoryLeft' => '64',
      'maxRuntime' => '60',
    ),
    'output' => array(
      'skin' => 'smoky-grey',
      'destination' => 'frontend',
      'folder' => 'log',
      'maxfiles' => '10',
    ),
    'properties' => array(
      'analyseProtected' => 'false',
      'analysePrivate' => 'false',
      'analyseConstants' => 'true',
      'analyseTraversable' => 'true',
    ),
    'methods' => array(
      'analyseMethodsAtall' => 'true',
      'analyseProtectedMethods' => 'false',
      'analysePrivateMethods' => 'false',
      'debugMethods' => 'some values',
    ),
    'backtraceAndError' => array(
      'registerAutomatically' => 'false',
      'backtraceAnalysis' => 'deep',
    ),
  );

Will be available with the next version.

Tobi