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
Describe the bug
VS Code debugger shows "Invalid variable attributes" in the variables panel when stopped at a breakpoint.
This is happening because the Debug Adapter Protocol requires a variablesReference field in the Variable type sent by the debug server (https://microsoft.github.io/debug-adapter-protocol/specification#Types_Variable), which HHVM currently doesn't return. It is likely that VS Code started enforcing this field in a recent version, which led to this behavior.
I have fixed it on the VS Code extension side by adding an override to the "variables" response (slackhq/vscode-hack#92), but it should ideally be fixed on the debug server side.
The text was updated successfully, but these errors were encountered:
Describe the bug
VS Code debugger shows "Invalid variable attributes" in the variables panel when stopped at a breakpoint.
This is happening because the Debug Adapter Protocol requires a
variablesReference
field in theVariable
type sent by the debug server (https://microsoft.github.io/debug-adapter-protocol/specification#Types_Variable), which HHVM currently doesn't return. It is likely that VS Code started enforcing this field in a recent version, which led to this behavior.I have fixed it on the VS Code extension side by adding an override to the "variables" response (slackhq/vscode-hack#92), but it should ideally be fixed on the debug server side.
The text was updated successfully, but these errors were encountered: