Love Fuel?    Donate

FuelPHP Forums

Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
Maximum nesting level for Debug::dump
  • Hi,

    is there any "hidden" parameter or action, which allows me to set a higher value
    for "max_nesting_level".

    I tried to debug my nested set tree, but after the defined 5 levels i got only "...".

    With var_dump() it works fine, but i love the Debug functionality.

    Thanks a lot.


    Greets
    Marcus
  • HarroHarro
    Accepted Answer
    Not exactly hidden, just not documented... ;-)

    \Debug::$max_nesting_level = 5;
    \Debug::$js_toggle_open = false;

    You can change both the maximum nesting level, and whether or not everything is collapsed (default) or expanded.
  • Thanks!

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion