vscode-php-debug
vscode-php-debug copied to clipboard
Debug console IntelliSense
XDebug provides all the tools, just need to implement it.
- Should suggest variables in the local scope (
context_get
) - Given a complex expression like
$obj->prop->prop
, strip away everything to and including the last->
. Then do aproperty_get
on$obj->prop
and suggest the properties
Is the missing context also the reason why the console can not work with already imported classes?
# Context has a `use App\Enums\Environment`
Environment::LOCAL
*error evaluating code*
# When providing the FQCN it works
App\Enums\Environment::LOCAL
App\Enums\Environment
If so +1 for this issue, else I would open a dedicated issue. :D