I did that before and it caused the toggle-button in the debugger header and the window's visibility status to be out of synch.