sonarcloud[bot]: Kudos, SonarCloud Quality Gate passed!

[<img src='https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/bug.png' alt='Bug' width='16' height='16' />](https://sonarcloud.io/project/issues?id=microsoft_debugpy&pullRequest=340&resolved=false&types=BUG) [<img src='https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A.png' alt='A' width='16' height='16' />](https://sonarcloud.io/project/issues?id=microsoft_debugpy&pullRequest=340&resolved=false&types=BUG) [0 Bugs](https://sonarcloud.io/project/issues?id=microsoft_debugpy&pullRequest=340&resolved=false&types=BUG)  
[<img src='https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/vulnerability.png' alt='Vulnerability' width='16' height='16' />](https://sonarcloud.io/project/issues?id=microsoft_debugpy&pullRequest=340&resolved=false&types=VULNERABILITY) [<img src='https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A.png' alt='A' width='16' height='16' />](https://sonarcloud.io/project/issues?id=microsoft_debugpy&pullRequest=340&resolved=false&types=VULNERABILITY) [0 Vulnerabilities](https://sonarcloud.io/project/issues?id=microsoft_debugpy&pullRequest=340&resolved=false&types=VULNERABILITY) (and [<img src='https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/security_hotspot.png' alt='Security Hotspot' width='16' height='16' />](https://sonarcloud.io/project/issues?id=microsoft_debugpy&pullRequest=340&resolved=false&types=SECURITY_HOTSPOT) [0 Security Hotspots](https://sonarcloud.io/project/issues?id=microsoft_debugpy&pullRequest=340&resolved=false&types=SECURITY_HOTSPOT) to review)  
[<img src='https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/code_smell.png' alt='Code Smell' width='16' height='16' />](https://sonarcloud.io/project/issues?id=microsoft_debugpy&pullRequest=340&resolved=false&types=CODE_SMELL) [<img src='https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A.png' alt='A' width='16' height='16' />](https://sonarcloud.io/project/issues?id=microsoft_debugpy&pullRequest=340&resolved=false&types=CODE_SMELL) [0 Code Smells](https://sonarcloud.io/project/issues?id=microsoft_debugpy&pullRequest=340&resolved=false&types=CODE_SMELL)

[<img src='https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/CoverageChart/NoCoverageInfo.png' alt='No Coverage information' width='16' height='16' />](https://sonarcloud.io/component_measures?id=microsoft_debugpy&pullRequest=340&metric=coverage&view=list) No Coverage information  
[<img src='https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/Duplications/NoDuplicationInfo.png' alt='No Duplication information' width='16' height='16' />](https://sonarcloud.io/component_measures?id=microsoft_debugpy&pullRequest=340&metric=duplicated_lines_density&view=list) No Duplication information


sonarcloud[bot]: Kudos, SonarCloud Quality Gate passed!

[<img src='https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/bug.png' alt='Bug' width='16' height='16' />](https://sonarcloud.io/project/issues?id=microsoft_debugpy&pullRequest=340&resolved=false&types=BUG) [<img src='https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A.png' alt='A' width='16' height='16' />](https://sonarcloud.io/project/issues?id=microsoft_debugpy&pullRequest=340&resolved=false&types=BUG) [0 Bugs](https://sonarcloud.io/project/issues?id=microsoft_debugpy&pullRequest=340&resolved=false&types=BUG)  
[<img src='https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/vulnerability.png' alt='Vulnerability' width='16' height='16' />](https://sonarcloud.io/project/issues?id=microsoft_debugpy&pullRequest=340&resolved=false&types=VULNERABILITY) [<img src='https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A.png' alt='A' width='16' height='16' />](https://sonarcloud.io/project/issues?id=microsoft_debugpy&pullRequest=340&resolved=false&types=VULNERABILITY) [0 Vulnerabilities](https://sonarcloud.io/project/issues?id=microsoft_debugpy&pullRequest=340&resolved=false&types=VULNERABILITY) (and [<img src='https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/security_hotspot.png' alt='Security Hotspot' width='16' height='16' />](https://sonarcloud.io/project/issues?id=microsoft_debugpy&pullRequest=340&resolved=false&types=SECURITY_HOTSPOT) [0 Security Hotspots](https://sonarcloud.io/project/issues?id=microsoft_debugpy&pullRequest=340&resolved=false&types=SECURITY_HOTSPOT) to review)  
[<img src='https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/code_smell.png' alt='Code Smell' width='16' height='16' />](https://sonarcloud.io/project/issues?id=microsoft_debugpy&pullRequest=340&resolved=false&types=CODE_SMELL) [<img src='https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A.png' alt='A' width='16' height='16' />](https://sonarcloud.io/project/issues?id=microsoft_debugpy&pullRequest=340&resolved=false&types=CODE_SMELL) [0 Code Smells](https://sonarcloud.io/project/issues?id=microsoft_debugpy&pullRequest=340&resolved=false&types=CODE_SMELL)

[<img src='https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/CoverageChart/NoCoverageInfo.png' alt='No Coverage information' width='16' height='16' />](https://sonarcloud.io/component_measures?id=microsoft_debugpy&pullRequest=340&metric=coverage&view=list) No Coverage information  
[<img src='https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/Duplications/NoDuplicationInfo.png' alt='No Duplication information' width='16' height='16' />](https://sonarcloud.io/component_measures?id=microsoft_debugpy&pullRequest=340&metric=duplicated_lines_density&view=list) No Duplication information


sonarcloud[bot]: Kudos, SonarCloud Quality Gate passed!

[<img src='https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/bug.png' alt='Bug' width='16' height='16' />](https://sonarcloud.io/project/issues?id=microsoft_debugpy&pullRequest=340&resolved=false&types=BUG) [<img src='https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A.png' alt='A' width='16' height='16' />](https://sonarcloud.io/project/issues?id=microsoft_debugpy&pullRequest=340&resolved=false&types=BUG) [0 Bugs](https://sonarcloud.io/project/issues?id=microsoft_debugpy&pullRequest=340&resolved=false&types=BUG)  
[<img src='https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/vulnerability.png' alt='Vulnerability' width='16' height='16' />](https://sonarcloud.io/project/issues?id=microsoft_debugpy&pullRequest=340&resolved=false&types=VULNERABILITY) [<img src='https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A.png' alt='A' width='16' height='16' />](https://sonarcloud.io/project/issues?id=microsoft_debugpy&pullRequest=340&resolved=false&types=VULNERABILITY) [0 Vulnerabilities](https://sonarcloud.io/project/issues?id=microsoft_debugpy&pullRequest=340&resolved=false&types=VULNERABILITY) (and [<img src='https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/security_hotspot.png' alt='Security Hotspot' width='16' height='16' />](https://sonarcloud.io/project/issues?id=microsoft_debugpy&pullRequest=340&resolved=false&types=SECURITY_HOTSPOT) [0 Security Hotspots](https://sonarcloud.io/project/issues?id=microsoft_debugpy&pullRequest=340&resolved=false&types=SECURITY_HOTSPOT) to review)  
[<img src='https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/code_smell.png' alt='Code Smell' width='16' height='16' />](https://sonarcloud.io/project/issues?id=microsoft_debugpy&pullRequest=340&resolved=false&types=CODE_SMELL) [<img src='https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A.png' alt='A' width='16' height='16' />](https://sonarcloud.io/project/issues?id=microsoft_debugpy&pullRequest=340&resolved=false&types=CODE_SMELL) [0 Code Smells](https://sonarcloud.io/project/issues?id=microsoft_debugpy&pullRequest=340&resolved=false&types=CODE_SMELL)

[<img src='https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/CoverageChart/NoCoverageInfo.png' alt='No Coverage information' width='16' height='16' />](https://sonarcloud.io/component_measures?id=microsoft_debugpy&pullRequest=340&metric=coverage&view=list) No Coverage information  
[<img src='https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/Duplications/NoDuplicationInfo.png' alt='No Duplication information' width='16' height='16' />](https://sonarcloud.io/component_measures?id=microsoft_debugpy&pullRequest=340&metric=duplicated_lines_density&view=list) No Duplication information


diff --git a/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_command_line_handling.py b/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_command_line_handling.py
index 263f43fb..2afae09e 100644
--- a/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_command_line_handling.py
+++ b/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_command_line_handling.py
@@ -78,6 +78,7 @@ ACCEPTED_ARG_HANDLERS = [
     ArgHandlerBool('print-in-debugger-startup'),
     ArgHandlerBool('cmd-line'),
     ArgHandlerBool('module'),
+    ArgHandlerBool('skip-notify-stdin'),
 
     # The ones below should've been just one setting to specify the protocol, but for compatibility
     # reasons they're passed as a flag but are mutually exclusive.
diff --git a/src/debugpy/_vendored/pydevd/pydevd.py b/src/debugpy/_vendored/pydevd/pydevd.py
index 236f7de2..64579c5a 100644
--- a/src/debugpy/_vendored/pydevd/pydevd.py
+++ b/src/debugpy/_vendored/pydevd/pydevd.py
@@ -2531,6 +2531,7 @@ def settrace(
     dont_trace_end_patterns=(),
     access_token=None,
     client_access_token=None,
+    notify_stdin=True,
     **kwargs
     ):
     '''Sets the tracing function with the pydev debug function and initializes needed facilities.
@@ -2577,6 +2578,14 @@ def settrace(
 
     :param client_access_token: token to be sent from the debugger to the client (i.e.: IDE) when
         a connection is established (verified by the client).
+
+    :param notify_stdin:
+        If True sys.stdin will be patched to notify the client when a message is requested
+        from the IDE. This is done so that when reading the stdin the client is notified.
+        Clients may need this to know when something that is being written should be interpreted
+        as an input to the process or as a command to be evaluated.
+        Note that parallel-python has issues with this (because it tries to assert that sys.stdin
+        is of a given type instead of just checking that it has what it needs).
     '''
 
     stdout_to_server = stdout_to_server or kwargs.get('stdoutToServer', False)  # Backward compatibility
@@ -2602,6 +2611,7 @@ def settrace(
             access_token,
             client_access_token,
             __setup_holder__=__setup_holder__,
+            notify_stdin=notify_stdin,
         )
 
 
@@ -2624,6 +2634,7 @@ def _locked_settrace(
     access_token,
     client_access_token,
     __setup_holder__,
+    notify_stdin,
     ):
     if patch_multiprocessing:
         try:
@@ -2653,6 +2664,7 @@ def _locked_settrace(
                 'server': False,
                 'port': int(port),
                 'multiprocess': patch_multiprocessing,
+                'skip-notify-stdin': not notify_stdin,
             }
             SetupHolder.setup = setup
 
@@ -2682,7 +2694,8 @@ def _locked_settrace(
         if _global_redirect_stderr_to_server:
             _init_stderr_redirect()
 
-        patch_stdin()
+        if notify_stdin:
+            patch_stdin()
 
         t = threadingCurrentThread()
         additional_info = set_additional_thread_info(t)
@@ -3130,7 +3143,8 @@ def main():
             pass
 
     is_module = setup['module']
-    patch_stdin()
+    if not setup['skip-notify-stdin']:
+        patch_stdin()
 
     if setup[pydevd_constants.ARGUMENT_JSON_PROTOCOL]:
         PyDevdAPI().set_protocol(debugger, 0, JSON_PROTOCOL)
diff --git a/src/debugpy/server/api.py b/src/debugpy/server/api.py
index 65794c7c..b1cf20a7 100644
--- a/src/debugpy/server/api.py
+++ b/src/debugpy/server/api.py
@@ -40,6 +40,8 @@ _adapter_process = None
 
 def _settrace(*args, **kwargs):
     log.debug("pydevd.settrace(*{0!r}, **{1!r})", args, kwargs)
+    # The stdin in notification is not acted upon in debugpy, so, disable it.
+    kwargs.setdefault('notify_stdin', False)
     try:
         return pydevd.settrace(*args, **kwargs)
     except Exception:

pp.Server() error
Issue Type: <b>Bug</b>

everytime I debug python code:

import pp
pp.Server

It will raise the error message:
Exception has occurred: RuntimeError
Communication pipe read error


Extension version: 2020.2.64397
VS Code version: Code 1.43.0 (78a4c91400152c0f27ba4d363eb56d2835f9903a, 2020-03-09T19:44:52.965Z)
OS version: Linux x64 5.3.0-40-generic

<details>
<summary>System Info</summary>

|Item|Value|
|---|---|
|CPUs|Intel(R) Xeon(R) Gold 6138 CPU @ 2.00GHz (40 x 1000)|
|GPU Status|2d_canvas: unavailable_software<br>flash_3d: disabled_software<br>flash_stage3d: disabled_software<br>flash_stage3d_baseline: disabled_software<br>gpu_compositing: disabled_software<br>multiple_raster_threads: enabled_on<br>oop_rasterization: disabled_off<br>protected_video_decode: disabled_off<br>rasterization: disabled_software<br>skia_renderer: disabled_off_ok<br>video_decode: disabled_software<br>viz_display_compositor: enabled_on<br>viz_hit_test_surface_layer: disabled_off_ok<br>webgl: unavailable_software<br>webgl2: unavailable_software|
|Load (avg)|1, 1, 1|
|Memory (System)|62.33GB (54.85GB free)|
|Process Argv|--no-sandbox --unity-launch|
|Screen Reader|no|
|VM|0%|
</details>
<!-- generated by issue reporter -->
diff --git a/src/debugpy/_vendored/pydevd/tests_python/debugger_unittest.py b/src/debugpy/_vendored/pydevd/tests_python/debugger_unittest.py
index e248e0a8..71c1111a 100644
--- a/src/debugpy/_vendored/pydevd/tests_python/debugger_unittest.py
+++ b/src/debugpy/_vendored/pydevd/tests_python/debugger_unittest.py
@@ -477,6 +477,7 @@ class DebuggerRunner(object):
             args,
             stdout=subprocess.PIPE,
             stderr=subprocess.PIPE,
+            stdin=subprocess.PIPE,
             cwd=writer.get_cwd() if writer is not None else '.',
             env=env,
         )
diff --git a/src/debugpy/_vendored/pydevd/tests_python/test_debugger.py b/src/debugpy/_vendored/pydevd/tests_python/test_debugger.py
index 72a502de..e1726a78 100644
--- a/src/debugpy/_vendored/pydevd/tests_python/test_debugger.py
+++ b/src/debugpy/_vendored/pydevd/tests_python/test_debugger.py
@@ -19,7 +19,7 @@ from tests_python.debugger_unittest import (CMD_SET_PROPERTY_TRACE, REASON_CAUGH
     CMD_THREAD_RESUME_SINGLE_NOTIFICATION, REASON_STEP_RETURN, REASON_STEP_RETURN_MY_CODE,
     REASON_STEP_OVER_MY_CODE, REASON_STEP_INTO, CMD_THREAD_KILL, IS_PYPY, REASON_STOP_ON_START)
 from _pydevd_bundle.pydevd_constants import IS_WINDOWS, IS_PY38_OR_GREATER, IS_PY39_OR_GREATER
-from _pydevd_bundle.pydevd_comm_constants import CMD_RELOAD_CODE
+from _pydevd_bundle.pydevd_comm_constants import CMD_RELOAD_CODE, CMD_INPUT_REQUESTED
 import json
 import pydevd_file_utils
 import subprocess
@@ -3931,6 +3931,36 @@ def test_asyncio_step_return(case_setup, target_filename):
         writer.write_run_thread(hit.thread_id)
         writer.finished_ok = True
 
+
+def test_notify_stdin(case_setup, pyfile):
+
+    @pyfile
+    def case_stdin():
+        import sys
+        print('Write something:')
+        contents = sys.stdin.readline()
+        print('Found: ' + contents)
+
+        print('TEST SUCEEDED')
+
+    def additional_output_checks(writer, stdout, stderr):
+        assert 'Found: foo' in stdout
+
+    with case_setup.test_file(
+            case_stdin,
+            additional_output_checks=additional_output_checks,
+        ) as writer:
+            writer.write_make_initial_run()
+            msg = writer.wait_for_message(CMD_INPUT_REQUESTED, expect_xml=False)
+            assert msg.split('\t')[-1] == 'True'
+            process = writer.process
+            process.stdin.write(b'foo\n')
+            process.stdin.flush()
+            msg = writer.wait_for_message(CMD_INPUT_REQUESTED, expect_xml=False)
+            assert msg.split('\t')[-1] == 'False'
+
+            writer.finished_ok = True
+
 # Jython needs some vars to be set locally.
 # set JAVA_HOME=c:\bin\jdk1.8.0_172
 # set PATH=%PATH%;C:\bin\jython2.7.0\bin
diff --git a/src/debugpy/_vendored/pydevd/tests_python/test_pydev_monkey.py b/src/debugpy/_vendored/pydevd/tests_python/test_pydev_monkey.py
index e5666bb3..f4e90320 100644
--- a/src/debugpy/_vendored/pydevd/tests_python/test_pydev_monkey.py
+++ b/src/debugpy/_vendored/pydevd/tests_python/test_pydev_monkey.py
@@ -61,7 +61,7 @@ def test_monkey_patch_args_indc():
     original = SetupHolder.setup
 
     try:
-        SetupHolder.setup = {'client': '127.0.0.1', 'port': '0', 'ppid': os.getpid(), 'protocol-quoted-line': True}
+        SetupHolder.setup = {'client': '127.0.0.1', 'port': '0', 'ppid': os.getpid(), 'protocol-quoted-line': True, 'skip-notify-stdin': True}
         check = ['C:\\bin\\python.exe', '-u', '-c', 'connect("127.0.0.1")']
         debug_command = (
             "import sys; sys.path.insert(0, r\'%s\'); import pydevd; pydevd.PydevdCustomization.DEFAULT_PROTOCOL='quoted-line'; "
@@ -86,7 +86,7 @@ def test_monkey_patch_args_module():
     original = SetupHolder.setup
 
     try:
-        SetupHolder.setup = {'client': '127.0.0.1', 'port': '0', 'multiprocess': True}
+        SetupHolder.setup = {'client': '127.0.0.1', 'port': '0', 'multiprocess': True, 'skip-notify-stdin': True}
         check = ['C:\\bin\\python.exe', '-m', 'test']
         from _pydevd_bundle.pydevd_command_line_handling import get_pydevd_file
         assert pydev_monkey.patch_args(check) == [
@@ -100,6 +100,7 @@ def test_monkey_patch_args_module():
             '--client',
             '127.0.0.1',
             '--multiprocess',
+            '--skip-notify-stdin',
             '--protocol-quoted-line',
             '--file',
             'test',
diff --git a/tests/debugpy/test_output.py b/tests/debugpy/test_output.py
index 43b1ea9e..c208725d 100644
--- a/tests/debugpy/test_output.py
+++ b/tests/debugpy/test_output.py
@@ -122,6 +122,24 @@ def test_non_ascii_output(pyfile, target, run):
     )
 
 
+def test_stdin_not_patched(pyfile, target, run):
+    @pyfile
+    def code_to_debug():
+        import sys
+        import debuggee
+        from debuggee import backchannel
+
+        debuggee.setup()
+        backchannel.send(sys.stdin == sys.__stdin__)
+
+    with debug.Session() as session:
+        backchannel = session.open_backchannel()
+        with run(session, target(code_to_debug)):
+            pass
+        is_original_stdin = backchannel.receive()
+        assert is_original_stdin, 'Expected sys.stdin and sys.__stdin__ to be the same.'
+
+
 if sys.platform == "win32":
 
     @pytest.mark.parametrize("redirect_output", ["", "redirect_output"])

pip install -e .[dev]
parse_log_pytest
requirements.txt
pytest pytest-cov pytest-xdist pytest-mock pytest-asyncio pytest
3.9
tests/requirements.txt
pytest --no-header -rA --tb=line --color=no -p no:cacheprovider -W ignore::DeprecationWarning
asgiref==3.8.1
atomicwrites==1.4.1
attrs==25.3.0
blinker==1.9.0
certifi==2025.1.31
charset-normalizer==3.4.1
click==8.1.8
coverage==7.8.0
-e git+https://github.com/microsoft/debugpy.git@1bef8e5ffb293eea1e19802b869e1fd1dc47f80d#egg=debugpy
distlib==0.3.9
Django==4.2.20
exceptiongroup==1.2.2
execnet==2.1.1
filelock==3.18.0
Flask==3.1.0
gevent==24.11.1
greenlet==3.1.1
idna==3.10
importlib_metadata==8.6.1
iniconfig==2.1.0
itsdangerous==2.2.0
Jinja2==3.1.6
MarkupSafe==3.0.2
more-itertools==10.6.0
packaging==24.2
platformdirs==4.3.7
pluggy==1.5.0
psutil==7.0.0
py==1.11.0
pytest==8.3.5
pytest-asyncio==0.26.0
pytest-cov==6.0.0
pytest-forked==1.6.0
pytest-mock==3.14.0
pytest-timeout==1.4.2
pytest-xdist==1.34.0
requests==2.32.3
six==1.17.0
sqlparse==0.5.3
tomli==2.2.1
tox==3.28.0
typing_extensions==4.13.0
urllib3==2.3.0
virtualenv==20.29.3
wcwidth==0.2.13
Werkzeug==3.1.3
zipp==3.21.0
zope.event==5.0
zope.interface==7.2

name: debugpy
channels:
  - defaults
  - https://repo.anaconda.com/pkgs/main
  - https://repo.anaconda.com/pkgs/r
  - conda-forge
dependencies:
  - _libgcc_mutex=0.1=main
  - _openmp_mutex=5.1=1_gnu
  - ca-certificates=2025.2.25=h06a4308_0
  - ld_impl_linux-64=2.40=h12ee557_0
  - libffi=3.4.4=h6a678d5_1
  - libgcc-ng=11.2.0=h1234567_1
  - libgomp=11.2.0=h1234567_1
  - libstdcxx-ng=11.2.0=h1234567_1
  - ncurses=6.4=h6a678d5_0
  - openssl=3.0.16=h5eee18b_0
  - pip=25.0=py39h06a4308_0
  - python=3.9.21=he870216_1
  - readline=8.2=h5eee18b_0
  - setuptools=75.8.0=py39h06a4308_0
  - sqlite=3.45.3=h5eee18b_0
  - tk=8.6.14=h39e8969_0
  - tzdata=2025a=h04d1e81_0
  - wheel=0.45.1=py39h06a4308_0
  - xz=5.6.4=h5eee18b_1
  - zlib=1.2.13=h5eee18b_1
  - pip:
      - asgiref==3.8.1
      - atomicwrites==1.4.1
      - attrs==25.3.0
      - blinker==1.9.0
      - certifi==2025.1.31
      - charset-normalizer==3.4.1
      - click==8.1.8
      - coverage==7.8.0
      - debugpy==1.0.0b12+3.g1bef8e5f
      - distlib==0.3.9
      - django==4.2.20
      - exceptiongroup==1.2.2
      - execnet==2.1.1
      - filelock==3.18.0
      - flask==3.1.0
      - gevent==24.11.1
      - greenlet==3.1.1
      - idna==3.10
      - importlib-metadata==8.6.1
      - iniconfig==2.1.0
      - itsdangerous==2.2.0
      - jinja2==3.1.6
      - markupsafe==3.0.2
      - more-itertools==10.6.0
      - packaging==24.2
      - platformdirs==4.3.7
      - pluggy==1.5.0
      - psutil==7.0.0
      - py==1.11.0
      - pytest==8.3.5
      - pytest-asyncio==0.26.0
      - pytest-cov==6.0.0
      - pytest-forked==1.6.0
      - pytest-mock==3.14.0
      - pytest-timeout==1.4.2
      - pytest-xdist==1.34.0
      - requests==2.32.3
      - six==1.17.0
      - sqlparse==0.5.3
      - tomli==2.2.1
      - tox==3.28.0
      - typing-extensions==4.13.0
      - urllib3==2.3.0
      - virtualenv==20.29.3
      - wcwidth==0.2.13
      - werkzeug==3.1.3
      - zipp==3.21.0
      - zope-event==5.0
      - zope-interface==7.2
prefix: /opt/conda/envs/debugpy

tests/debugpy/test_output.py::test_stdin_not_patched[program-launch]
src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_case_2 src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_case_breakpoint_condition_exc[skip_suspend_on_breakpoint_exception2-skip_print_breakpoint_exception2] src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_case_referrers src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_case_breakpoint_condition_exc[skip_suspend_on_breakpoint_exception0-skip_print_breakpoint_exception0] src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_case_breakpoint_condition_exc[skip_suspend_on_breakpoint_exception1-skip_print_breakpoint_exception1] src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_case_breakpoint_condition_exc[skip_suspend_on_breakpoint_exception3-skip_print_breakpoint_exception3] src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_case_breakpoint_condition_exc[skip_suspend_on_breakpoint_exception4-skip_print_breakpoint_exception4] src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_case_breakpoint_condition_exc[skip_suspend_on_breakpoint_exception5-skip_print_breakpoint_exception5] src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_case_double_remove_breakpoint src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_case_remove_breakpoint src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_case_6 src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_case_5 src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_case_suspend_all_thread src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_case_7 src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_case_suspend_thread src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_case_9 src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_case_14 src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_case_13 src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_case_8 src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_case_15 src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_case_12 src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_case_django_a src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_case_django_b src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_case_django_invalid_template_exception_breakpoint[True] src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_case_3 src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_case_11 src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_unhandled_exceptions_in_top_level3 src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_case_19 src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_case_10 src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_case_17 src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_case_django_no_attribute_exception_breakpoint[True] src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_case_django_template_inherits_no_exception src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_case_18 src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_case_django_no_attribute_exception_breakpoint[False] src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_case_handled_exceptions4 src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_unhandled_exceptions_in_top_level4 src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_case_17a src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_case_django_no_var_error src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_show_bytecode_xml src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_case_settrace src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_case_set_next_statement src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_case_get_thread_stack src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_evaluate_errors src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_unhandled_exceptions_get_stack src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_case_dump_threads_to_stderr src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_list_threads src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_case_get_next_statement_targets src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_case_django_no_attribute_exception_breakpoint_and_regular_exceptions src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_stop_on_start_regular src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_case_print src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_case_type_ext src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_m_switch src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_py_37_breakpoint[_debugger_case_breakpoint.py] src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_case_lamdda src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_stop_on_start_m_switch src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_multiprocessing_simple[_debugger_case_python_c.py] src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_case_writer_creation_deadlock src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_case_handled_and_unhandled_exception_generator[False-_debugger_case_unhandled_exceptions_generator.py] src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_generator_cases[_debugger_case_generator_py2.py] src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_case_suspension_policy src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_stop_on_start_entry_point src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_multiprocessing_simple[_debugger_case_multiprocessing_pool.py] src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_generator_cases[_debugger_case_generator_py3.py] src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_case_flask src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_case_django_invalid_template_exception_breakpoint[False] src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_case_handled_and_unhandled_exception_generator[False-_debugger_case_unhandled_exceptions_listcomp.py] src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_case_skip_breakpoints_in_exceptions src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_debug_zip_files src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_multiprocessing_with_stopped_breakpoints[3] src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_path_translation[False] src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_multiprocessing_with_stopped_breakpoints[0] src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_case_handled_and_unhandled_exception_generator[True-_debugger_case_unhandled_exceptions_generator.py] src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_module_entry_point src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_case_handled_exceptions0 src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_multiprocessing_simple[_debugger_case_multiprocessing_2.py] src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_multiprocessing_with_stopped_breakpoints[4] src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_linecache_xml src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_multiprocessing_with_stopped_breakpoints[1] src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_py_37_breakpoint_remote_no_import src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_case_handled_and_unhandled_exception_generator[True-_debugger_case_unhandled_exceptions_listcomp.py] src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_multiprocessing_simple[_debugger_case_multiprocessing.py] src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_case_handled_exceptions1 src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_multiprocessing_with_stopped_breakpoints[2] src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_unhandled_exceptions_basic src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_custom_frames src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_unhandled_exceptions_in_top_level1 src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_gevent src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_run_pause_all_threads_single_notification[True] src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_unhandled_exceptions_in_top_level2 src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_run_pause_all_threads_single_notification[False] src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_case_handled_exceptions3 src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_frame_eval_limitations[_debugger_case_tracing.py-break_at_lines4] src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_frame_eval_limitations[_debugger_case_tracing.py-break_at_lines5] src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_frame_eval_limitations[_debugger_case_tracing.py-break_at_lines6] src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_frame_eval_limitations[_debugger_case_tracing.py-break_at_lines7] src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_step_return_my_code src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_step_over_my_code src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_exception_not_on_filtered_file[handled_once] src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_exception_not_on_filtered_file[handled_multiple] src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_exception_not_on_filtered_file[unhandled] src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_exception_on_filtered_file src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_step_over_my_code_global_settings[step_over-environ0] src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_step_over_my_code_global_settings[step_over-environ1] src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_step_over_my_code_global_settings[step_over-environ2] src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_step_over_my_code_global_settings[step_return-environ0] src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_step_over_my_code_global_settings[step_return-environ1] src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_step_over_my_code_global_settings[step_return-environ2] src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_step_over_my_code_global_settings[step_in-environ0] src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_step_over_my_code_global_settings[step_in-environ1] src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_step_over_my_code_global_settings[step_in-environ2] src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_step_over_my_code_global_setting_and_explicit_include src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_access_token src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_namedtuple src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_generator_step_over_basic[_debugger_case_generator3.py] src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_generator_step_over_basic[_debugger_case_generator.py] src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_generator_step_over_basic[_debugger_case_generator2.py] src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_generator_step_return[_debugger_case_generator3.py] src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_generator_step_return[_debugger_case_generator.py] src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_generator_step_return[_debugger_case_generator2.py] src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_stepin_not_my_code_coroutine src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_generator_step_in src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_asyncio_step_over_basic[_debugger_case_asyncio.py] src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_asyncio_step_over_basic[_debugger_case_trio.py] src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_asyncio_step_over_end_of_function[_debugger_case_asyncio.py] src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_asyncio_step_over_end_of_function[_debugger_case_trio.py] src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_asyncio_step_in[_debugger_case_asyncio.py] src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_asyncio_step_in[_debugger_case_trio.py] src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_asyncio_step_return[_debugger_case_asyncio.py] src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_asyncio_step_return[_debugger_case_trio.py] src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_notify_stdin src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_remote_debugger_basic src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_remote_unhandled_exceptions[False] src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_subprocess_quoted_args src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_remote_debugger_multi_proc[True] src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_trace_dispatch_correct src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_case_single_notification_on_step src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_gevent_remote src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_top_level_exceptions_on_attach[scenario_caught] src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_reload src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_top_level_exceptions_on_attach[scenario_uncaught] src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_return_value src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_frame_eval_limitations[_debugger_case_tracing.py-break_at_lines1] src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_frame_eval_limitations[_debugger_case_tracing.py-break_at_lines2] src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_frame_eval_limitations[_debugger_case_tracing.py-break_at_lines3] src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_py_37_breakpoint_remote tests/debugpy/test_output.py::test_redirect_output[program-enabled-attach_pid] src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_remote_debugger_multi_proc[False] src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_top_level_exceptions_on_attach[scenario_caught_and_uncaught] src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_frame_eval_limitations[_debugger_case_tracing.py-break_at_lines0] src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_attach_to_pid_no_threads[True] tests/debugpy/test_output.py::test_redirect_output[program-disabled-attach_pid] tests/debugpy/test_output.py::test_with_no_output[program-attach_pid] src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_remote_unhandled_exceptions[True] src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_attach_to_pid_no_threads[False]
src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_case_20 src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_case_event_ext src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_check_tracer_with_exceptions src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_redirect_output src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_case_handled_exceptions2 src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_sysexit_on_filtered_file src/debugpy/_vendored/pydevd/tests_python/test_debugger.py::test_matplotlib_activation tests/debugpy/test_output.py::test_with_no_output[program-launch(internalConsole)] tests/debugpy/test_output.py::test_with_no_output[program-launch(integratedTerminal)] tests/debugpy/test_output.py::test_with_no_output[program-launch(externalTerminal)] tests/debugpy/test_output.py::test_with_no_output[program-attach_listen(api)] tests/debugpy/test_output.py::test_with_no_output[program-attach_listen(cli)] tests/debugpy/test_output.py::test_with_no_output[program-attach_connect(api)] tests/debugpy/test_output.py::test_with_no_output[program-attach_connect(cli)] tests/debugpy/test_output.py::test_redirect_output[program-enabled-launch(internalConsole)] tests/debugpy/test_output.py::test_redirect_output[program-enabled-launch(integratedTerminal)] tests/debugpy/test_output.py::test_redirect_output[program-enabled-attach_listen(cli)] tests/debugpy/test_output.py::test_with_tab_in_output[program-launch] tests/debugpy/test_output.py::test_redirect_output[program-enabled-launch(externalTerminal)] tests/debugpy/test_output.py::test_redirect_output[program-enabled-attach_listen(api)] tests/debugpy/test_output.py::test_redirect_output[program-enabled-attach_connect(cli)] tests/debugpy/test_output.py::test_redirect_output[program-enabled-attach_connect(api)] tests/debugpy/test_output.py::test_redirect_output[program-disabled-launch(internalConsole)] tests/debugpy/test_output.py::test_redirect_output[program-disabled-launch(integratedTerminal)] tests/debugpy/test_output.py::test_redirect_output[program-disabled-launch(externalTerminal)] tests/debugpy/test_output.py::test_redirect_output[program-disabled-attach_listen(cli)] tests/debugpy/test_output.py::test_redirect_output[program-disabled-attach_connect(cli)] tests/debugpy/test_output.py::test_redirect_output[program-disabled-attach_connect(api)] tests/debugpy/test_output.py::test_non_ascii_output[program-launch] tests/debugpy/test_output.py::test_redirect_output[program-disabled-attach_listen(api)]
src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_command_line_handling.py src/debugpy/server/api.py src/debugpy/_vendored/pydevd/pydevd.py
src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_command_line_handling.py src/debugpy/server/api.py src/debugpy/_vendored/pydevd/pydevd.py