Debugging

Applies to: general

Debugging is the process of finding and fixing why code behaves differently from what you expected.

print("state", x, y, heading)

See also: logging, breakpoint