v8-debugger

v8 debugger protocol client

Usage no npm install needed!

<script type="module">
  import v8Debugger from 'https://cdn.skypack.dev/v8-debugger';
</script>

README

v8-debugger

An attempt to export v8 debugger protocol client as a reusable module. Current source code extracted from built-in node debugger (see _debugger.js original source)

API

var client = require('v8-debugger').createClient({port: 5858});
client.reqBacktrace(function(err, res) {
   // backtrace data
});