Skip to content

Latest commit

 

History

History
12 lines (7 loc) · 565 Bytes

README.md

File metadata and controls

12 lines (7 loc) · 565 Bytes

JavaScript Debug Environment

Prerequisites

  1. Install jsvu. I use V8 for debug but you can use whatever engine you need. Check documentation for more info.

  2. If you on Mac then install gnu-time utility: brew install gnu-time. If you on Linux then go to v8.sh and replace gtime with /usr/bin/time

How to use

Run sh v8.sh file.js to execute file.js with V8 engine using flags listed in v8.sh. This will generate a bytecode for each function that prefixed with bc__*. Natives syntax allowed.