-
-
Notifications
You must be signed in to change notification settings - Fork 176
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Evaluate namespaces in debug console #951
Comments
Indeed that is the current way, as all code in the debug window is just passed to Xdebug 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... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: