diff --git a/src/ptvsd/_vendored/pydevd/_pydev_bundle/pydev_console_utils.py b/src/ptvsd/_vendored/pydevd/_pydev_bundle/pydev_console_utils.py index e38462dc..8c246bc6 100644 --- a/src/ptvsd/_vendored/pydevd/_pydev_bundle/pydev_console_utils.py +++ b/src/ptvsd/_vendored/pydevd/_pydev_bundle/pydev_console_utils.py @@ -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: