This is a draft cheat sheet. It is a work in progress and is not finished yet.
XDebug: Variable Display Features
xdebug.var_display_max_children 128 Controls the amount of array children and object's properties are shown when variables are displayed with either
|
xdebug.var_display_max_data 512 Controls the maximum string length
|
xdebug.var_display_max_depth 3 Controls how many nested levels of array elements and object properties
|
|
|
Stack Trace
xdebug.collect_params 0 controls whether Xdebug should collect the parameters passed to functions when a function call is recorded in either the function trace or the stack trace. 1 = Type and number of elements. 2 = Type and number of elements, with a tool tip for the full information. 3 = Full variable contents. 4 = Full variable contents and variable name.
|
xdebug.dump_globals 1 Controls whether the values of the superglobals as defined by the xdebug.dump.* settings whould be shown or not.
|
xdebug.dump.* string * can be any of COOKIE, FILES, GET, POST, REQUEST, SERVER, SESSION. These seven settings control which data from the superglobals is shown when an error situation occurs. In order to dump the REMOTE_ADDR and the REQUEST_METHOD: xdebug.dump.SERVER = REMOTE_ADDR,REQUEST_METHOD
|
xdebug.show_local_vars 0 When this setting is set to something != 0 Xdebug's generated stack dumps in error situations will also show all variables in the top-most scope.
|
xdebug.collect_vars 0This setting tells Xdebug to gather information about which variables are used in a certain scope
|
xdebug.file_link_format This setting determines the format of the links that are made in the display of stack traces where file names are used. %f the filename. %l the line number
|
|
|
|