promptdojo_

print and breakpoint — finding the bad value before AI does — step 7 of 9

Claude added a debug print, but it's outside the loop, so it only fires once at the end. Move the print line inside the loop so every iteration prints, then the output should be:

step: 1
step: 2
step: 3
done
The break is on line 5 — but read the whole snippet first.

full-screen editor opens — close anytime to keep reading.