I am debugging a PHP application that uses many define()
functions. Is there any way to get the values of define()
later in the code where the identifier is used? F11
only shows conventional variables, and F12
on the defined identifier returns only the identifier name.
This is with xdebug 2.1.0 on PHP 5.3 running on Ubuntu Server 12.04, as used in VIM 7.3. Thanks!
$someVar = var_export(get_defined_constants(true), true)
and then check the content of$someVar
in xdebug, but I would prefer to use native Xdebug functionality without changing the application code.