I think the console window shows up if swift was compiled using the debug flag == true