Skip to content

Latest commit

 

History

History
 
 

replay-history

Replay History samples

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

Running this sample

  1. temporal server start-dev to start Temporal Server.
  2. npm install to install dependencies.
  3. npm run start.watch to start the Worker.
  4. In another shell, npm run workflow to run the Workflow.
  5. Once npm run workflow completes, run npm run replayer (or, if using VS Code, run the debugger script set up for you in launch.json) to step through the code.