Introduce a debug window, into which logs are written.