Skip to content
您正在瀏覽 v0.18 的文件。最新版本為 v0.20。 前往最新文件

@ue-too/being-devtools v0.18.5 ​

Attachable devtools for @ue-too/being state machines.

備註 ​

Attach a floating debugger panel to any running machine with one call:

ts
import { attachMachineDebugger } from '@ue-too/being-devtools';

attachMachineDebugger(machine, { name: 'pan-control' });

The panel draws the machine's state chart, highlights the current state, dims transitions whose preconditions currently fail, logs every event the machine handles (coalescing repeats), shows the context, and lets you fire events by hand. Ctrl+Shift+M (Cmd+Shift+M on macOS) toggles it.

Core ​

Types ​