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
{{ message }}
This repository was archived by the owner on Feb 1, 2022. It is now read-only.
There was a bug in `internal/inspect_repl.js` that caused REPL to crash
when trying to invoke autocomplete. Steps to reproduce:
* Start the debugger.
* Run `repl` command.
* Type any letter.
* Press <Tab>.
* Debugger crashes with `TypeError: elem.indexOf is not a function`.
The reason is that Node's REPL expects a completion group to be an
array of strings while node-inspect passed an instance of ScopeSnapshot.
This commit fixes it by adding completion groups for REPL as properties
of ScopeSnapshot instances and returning them when evaluating ".scope".
0 commit comments