read the transcript!
One of the easiest ways to start is to save a copy of the buggy code and its inputs/outputs:
An illustration of stick figure wearing a top hat. Beside them is a bug in a mason jar.
person (thinking): “don’t touch anything! we need to preserve evidence!”
Depending on the situation, you might want to: - make a git commit of the buggy code! (on a branch, just for you) - save the input that triggered the bug - save logs/screenshots to analyze later