@ue-too/being-devtools / attachMachineDebugger
Function: attachMachineDebugger()
attachMachineDebugger(
machine,options?):AttachHandle
Defined in: attach.ts:98
Attaches a machine to the page's shared floating panel, creating the panel on first use. Press Ctrl+Shift+M (Cmd+Shift+M on macOS) to open it.
Parameters
machine
options?
Returns
Example
ts
const handle = attachMachineDebugger(machine, { name: 'pan-control' });
// on teardown
handle.dispose();