Added error listener to process, debug window is always visible