idiom
debug the mind
Meaning
to clear one’s thoughts or fix mental confusion
Example
Before making big design decisions, it’s good to **debug your mind**.