DelSkayn / rquickjs

High level bindings to the quickjs javascript engine
MIT License
435 stars 59 forks source link

How to debug js code while using rquickjs? #190

Closed yuanyan3060 closed 10 months ago

DelSkayn commented 11 months ago

Could you elaborate a bit more with what exactly you mean with debug js code?

If you are looking for breakpoints or a debugger, QuickJS doesn't implement that so rquickjs doesn't either.

RReverser commented 11 months ago

FWIW there is a fork of QuickJS with debugging support via a companion VSCode extension: https://github.com/koush/vscode-quickjs-debug

Might be potentially possible to patch built-in copy of QuickJS with those changes (under a feature flag) to make it work with rquickjs too.