Native debug module — QuickJS debugger primitives + cross-thread DebugChannel.
debug
Reviewed final definitions. Notes vs. the previous draft:
getFrameInfo
column
col
STEP_*
EV_PAUSED
EV_RESUMED
notify()
DebugChannelMain.waitRequest()
inspect
resume
waitRequest()
stop()
Native
debugmodule — QuickJS debugger primitives + cross-thread DebugChannel.Reviewed final definitions. Notes vs. the previous draft:
getFrameInfois now declared (was missing).column(notcol).STEP_*constants are actually exported by the native module now.EV_PAUSED/EV_RESUMEDevent-type constants added fornotify().DebugChannelMain.waitRequest()returns a discriminated union (inspect|resume), never raw control messages.waitRequest()throws InternalError (EAGAIN) whenstop()is called.