Got the debug window working