connectInspector(machine, createBrowserInspector()) streams a machine, and the machines it spawns or invokes, to the Stately Inspector.
connectInspector(machine, createBrowserInspector())
Guide: https://joegaudet.com/switchyard/guide/#/interop · MIT