From 9e1cd10c9914bcff968da38bfdae79bf228b9121 Mon Sep 17 00:00:00 2001 From: Ben Jackson Date: Fri, 1 Mar 2019 13:25:52 +0000 Subject: [PATCH] When restarting, make sure that we have some configuraiton --- python3/vimspector/debug_session.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/python3/vimspector/debug_session.py b/python3/vimspector/debug_session.py index b6d2068..686254a 100644 --- a/python3/vimspector/debug_session.py +++ b/python3/vimspector/debug_session.py @@ -207,6 +207,9 @@ class DebugSession( object ): # FIXME: For some reason this doesn't work when run from the WinBar. It just # beeps and doesn't display the config selector. One option is to just not # display the selector and restart with the same opitons. + if not self._configuration or not self._adapter: + return Start() + self._StartWithConfiguration( self._configuration, self._adapter ) def OnChannelData( self, data ):