Properly forward sys.stdin.read(). ptvsd:1423
@@ -128,6 +128,13 @@ class DebugConsoleStdIn(BaseStdIn):
self.__pydev_run_command(False)
return result
+ def read(self, *args, **kwargs):
+ # Notify Java side about input and call original function
+ self.__pydev_run_command(True)
+ result = self.original_stdin.read(*args, **kwargs)
+ self.__pydev_run_command(False)
+ return result
+
class CodeFragment:
