mirror of
https://github.com/microsoft/debugpy.git
synced 2025-12-23 08:48:12 +00:00
parent
ba04a8ec6d
commit
5e93cfde81
1 changed files with 7 additions and 0 deletions
|
|
@ -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:
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue