diff -r 8c3d033e5044 -r 0cdead130a81 eric6/Debugger/DebugUI.py --- a/eric6/Debugger/DebugUI.py Sat Jun 20 17:36:20 2020 +0200 +++ b/eric6/Debugger/DebugUI.py Sun Jun 21 18:26:12 2020 +0200 @@ -828,9 +828,7 @@ cap = self.debugServer.getClientCapabilities(language) break else: - if editor.isPy2File(): - cap = self.debugServer.getClientCapabilities('Python2') - elif editor.isPy3File(): + if editor.isPy3File(): cap = self.debugServer.getClientCapabilities('Python3') elif editor.isRubyFile(): cap = self.debugServer.getClientCapabilities('Ruby')