idiom
to debug a program
Meaning
to identify and fix errors or problems in a computer program
Example
I spent all day **to debug a program** that was causing crashes.