How to use chrome devtools to debug javascript running in a custom VM? -


here's scenario:

i've created little javascript vm implemented in pure javascript. vm simple, can basic things pause/resume execution, report source/line numbers of executing bytecode.

what want use chrome developer tools debug code running inside vm running in normal web page. chrome developer tools exposes kind of api lets me that? in other words: there way control dev tools debugger javascript code being executed in normal web page?

any direction on subject appreciated, if have write custom chrome extension achieve that.


Comments

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

jquery - Fancybox - apply a function to several elements -

An easy way to program an Android keyboard layout app -