You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Indeed that is the current way, as all code in the debug window is just passed to Xdebug eval command. And this is probably as it is in PHP as I believe use referencing happens in compile time and not run-time.
This is also something that's bothering me sometimes but I can hardly do much as it would require that this extension understood a lot more about PHP language as it does...
PHP version: 8.2.15
Xdebug version: 3.2.0
VS Code extension version: 1.34.0
When I test expressions in the debug console, I've noticed that namespaced classes don't seem to evaluate
use
statements.For example, if I debug this code:
And enter the following in the debug console:
$test instanceof Bar
returns false when I would expect it to return true.The text was updated successfully, but these errors were encountered: