Prevent spurious "Could not determine ApplicationConnection" error when using the debug window

Change-Id: I3b5a8ac4f33c7e8828e34c46056b8ecd6c05a436