diff -r 812ee8c0a91a -r 39e3db2b4936 eric6/Debugger/DebugUI.py --- a/eric6/Debugger/DebugUI.py Wed Jun 17 17:14:12 2020 +0200 +++ b/eric6/Debugger/DebugUI.py Sun Jul 05 11:11:24 2020 +0200 @@ -834,9 +834,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')