QuickJS Debug for VS Code
This is a VS Code debug adapter for QuickJS.
QuickJS Debugger supports stepping, continue, breakpoints, evaluation, and variable access.
The official QuickJS release does not have any debugger support. The QuickJS Debugger requires a forked version of QuickJS, that has minimal changes necessary to support debugging.
Using QuickJS Debug
You can now step through the
To listen for a connection in embedded quickjs (attach + connect with vscode debugger):
To initiate a connection in embedded quickjs (attach + listen with vscode debugger):
Alternatively, provide one of the following environment variables before starting the process embedded with QuickJS:
Using these methods will block execution until the debugger has attached.
Protocol documentation is here.