diff --git a/python3/vimspector/debug_session.py b/python3/vimspector/debug_session.py index ae5f679..dc9f393 100644 --- a/python3/vimspector/debug_session.py +++ b/python3/vimspector/debug_session.py @@ -337,6 +337,9 @@ class DebugSession( object ): def OnEvent_initialized( self, message ): self._codeView.ClearBreakpoints() self._SendBreakpoints() + self._connection.DoRequest( None, { + 'command': 'configurationDone', + } ) def OnEvent_thread( self, message ): if message[ 'body' ][ 'reason' ] == 'started': @@ -409,10 +412,6 @@ class DebugSession( object ): } ) - self._connection.DoRequest( None, { - 'command': 'configurationDone', - } ) - def _ShowBreakpoints( self ): for file_name, line_breakpoints in self._breakpoints.items(): for line, bp in line_breakpoints.items():