Registers a source-level hook on a function location.
The hook is armed when the underlying hooks manager is started.
Note:
onEnter(ctx) { ... }
line
col
Optional
Adds a LiveHook. Does NOT arm breakpoints until startLiveHooks(pageId) is called.
Arms all Hooks for the given page.
Arms all LiveHooks for the given page.
Disarms all Hooks.
Disarms all LiveHooks.
Registers a source-level hook on a function location.
The hook is armed when the underlying hooks manager is started.
Note:
onEnter(ctx) { ... }), not anonymous functions or arrow functions.lineandcolare 1-based.