level optional default (empty - turns debugging off)The debug level as an integer bitfield. 0 (or an empty value) turns debugging off. Non-zero turns it on: bit 1 (value 1) adds page-cache notes, bit 2 (value 2) adds expansion and query tracing; higher bits add more detail, up to 511. The command sets this level and returns nothing.
store optional default (empty - no slot used)Optional name of an internal slot. With a numeric level, the current level is first saved into this slot before being changed; with an empty level, the level saved earlier under this slot name is restored. The slot exists only for the current page render.
before[{debug:0}]after
[{debug:0}]
[{debug}]
{debug:2}...{debug:0}
{debug:3:temp}...some section...{debug::temp}