At the top of a Replay, you can toggle between the Viewer and the DevTools.

If you're familiar with using browser inspectors, the DevTools section of a Replay should look familiar to you! It's a combination of the elements, sources, and debugger tabs seen in browsers.

Console

The Console on the right is a complete JavaScript REPL and displays any log messages from the recorded application. You can use it to:

You can read more about the Replay console here. Or, check out a Replay showing off the console utility.

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/924821c2-8b03-4a0d-87ef-f2a37b89368f/Screen_Shot_2021-06-29_at_4.38.36_PM.png

Elements

If you'd like to browse the HTML of the captured application, you can enable the Elements panel by going to Settings > Experimental. With Elements enabled, you can click through or search through the HTML.

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/10ffc0b4-c897-47df-86eb-d3f6ec190b00/Screen_Shot_2021-06-27_at_4.17.03_PM.png

Pause Information

After adding a breakpoint, you can use the Pause Information tab on the sidebar as a step-through debugger. It allows you to step into or out of the line of code you are on. It also shows you the call stack and any variables in the current scope. See more information about step-through debugging in Replay here

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/d1b723bf-d1c7-490c-8524-95254dc8be54/Screen_Shot_2021-06-29_at_4.43.13_PM.png

Pause Scrubber

Once paused at a breakpoint, you can use the Pause Scrubber to slide through the method you are paused in. Notice the scope variables are uninitialized at the beginning of the scrub (due to hoisting) and updated on the sidebar as we pass the line where they are initialized.