I am using xstate for state management in a angular project. I did the
this.service = interpret(machine, { devTools: true }).start();
when st