This demo shows you how the Temporal Worker's runReplayHistory
API can be used to step through and debug Temporal Workflows.
See the associated video for instructions: https://youtu.be/fN5bIL7wc5M
temporal server start-dev
to start Temporal Server.npm install
to install dependencies.npm run start.watch
to start the Worker.- In another shell,
npm run workflow
to run the Workflow. - Once
npm run workflow
completes, runnpm run replayer
(or, if using VS Code, run the debugger script set up for you inlaunch.json
) to step through the code.