1. A method for managing window focus while debugging a computer program performing automation on a graphical user interface, the method comprising: displaying in a first graphical user interface, program code of the computer program, wherein the computer program is designed to manipulate a second graphical user interface of another computer program; receiving a command to debug the computer program; converting the first graphical user interface into a focus-less graphical user interface; debugging the computer program; and subsequent to completion of said debugging, restoring the first graphical user interface into focus; wherein at least one of the steps is carried out using a computing device.