GeezerVison is showing github.com — Use python debugger api (#23211) · trysten/vscode-python@1f8e98a
File treeExpand file treeCollapse file tree Open diff view settings Expand file treeCollapse file tree Open diff view settings Collapse file Copy file name to clipboardExpand all lines: .github/ISSUE_TEMPLATE/config.yml +3-3Lines changed: 3 additions & 3 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -9,9 +9,9 @@ contact_links: | 9 | 9 | - name: 'Jupyter' | 10 | 10 | url: https://github.com/microsoft/vscode-jupyter/issues | 11 | 11 | about: 'For issues relating to the Jupyter extension (including the interactive window)' | 12 | | - - name: 'Debugpy' | 13 | | - url: https://github.com/microsoft/debugpy/issues | 14 | | - about: 'For issues relating to the debugpy debugger' | | 12 | + - name: 'Python Debugger' | | 13 | + url: https://github.com/microsoft/vscode-python-debugger/issues | | 14 | + about: 'For issues relating to the Python debugger' | 15 | 15 | - name: Help/Support | 16 | 16 | url: https://github.com/microsoft/vscode-python/discussions/categories/q-a | 17 | 17 | about: 'Having trouble with the extension? Need help getting something to work?' |
Collapse file Copy file name to clipboardExpand all lines: .github/actions/build-vsix/action.yml +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
| 40 | 40 | run: python -m pip install wheel nox | 41 | 41 | shell: bash | 42 | 42 |
| 43 | | - - name: Install Python Extension dependencies (jedi, debugpy, etc.) | | 43 | + - name: Install Python Extension dependencies (jedi, etc.) | 44 | 44 | run: nox --session install_python_libs | 45 | 45 | shell: bash | 46 | 46 |
| |
Collapse file Copy file name to clipboardExpand all lines: .github/actions/smoke-tests/action.yml -1Lines changed: 0 additions & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
| 39 | 39 | - name: pip install system test requirements | 40 | 40 | run: | | 41 | 41 | python -m pip install --upgrade -r build/test-requirements.txt | 42 | | - python -m pip --disable-pip-version-check install -t ./python_files/lib/python --implementation py --no-deps --upgrade --pre debugpy | 43 | 42 | shell: bash | 44 | 43 |
| 45 | 44 | # Bits from the VSIX are reused by smokeTest.ts to speed things up. | |
Collapse file Copy file name to clipboardExpand all lines: .github/workflows/build.yml +1-2Lines changed: 1 addition & 2 deletions | Original file line number | Diff line number | Diff line change |
|---|
| 97 | 97 |
| 98 | 98 | - name: Install other Python requirements | 99 | 99 | run: | | 100 | | - python -m pip --disable-pip-version-check install -t ./python_files/lib/python --no-cache-dir --implementation py --no-deps --upgrade --pre debugpy | 101 | 100 | python -m pip install --upgrade -r build/test-requirements.txt | 102 | 101 |
| 103 | 102 | - name: Run Pyright | @@ -195,7 +194,7 @@ jobs: | 195 | 194 | - name: Install build pre-requisite | 196 | 195 | run: python -m pip install wheel nox | 197 | 196 |
| 198 | | - - name: Install Python Extension dependencies (jedi, debugpy, etc.) | | 197 | + - name: Install Python Extension dependencies (jedi, etc.) | 199 | 198 | run: nox --session install_python_libs | 200 | 199 |
| 201 | 200 | - name: Install test requirements | |
Collapse file Copy file name to clipboardExpand all lines: .github/workflows/pr-check.yml +1-7Lines changed: 1 addition & 7 deletions | Original file line number | Diff line number | Diff line change |
|---|
| 71 | 71 |
| 72 | 72 | - name: Install other Python requirements | 73 | 73 | run: | | 74 | | - python -m pip --disable-pip-version-check install -t ./python_files/lib/python --no-cache-dir --implementation py --no-deps --upgrade --pre debugpy | 75 | 74 | python -m pip install --upgrade -r build/test-requirements.txt | 76 | 75 |
| 77 | 76 | - name: Run Pyright | @@ -183,7 +182,7 @@ jobs: | 183 | 182 | - name: Install build pre-requisite | 184 | 183 | run: python -m pip install wheel nox | 185 | 184 |
| 186 | | - - name: Install Python Extension dependencies (jedi, debugpy, etc.) | | 185 | + - name: Install Python Extension dependencies (jedi, etc.) | 187 | 186 | run: nox --session install_python_libs | 188 | 187 |
| 189 | 188 | - name: Install test requirements | @@ -386,11 +385,6 @@ jobs: | 386 | 385 | requirements-file: './python_files/jedilsp_requirements/requirements.txt' | 387 | 386 | options: '-t ./python_files/lib/jedilsp --implementation py' | 388 | 387 |
| 389 | | - - name: Install debugpy | 390 | | - run: | | 391 | | - # We need to have debugpy so that tests relying on it keep passing, but we don't need install_debugpy's logic in the test phase. | 392 | | - python -m pip --disable-pip-version-check install -t ./python_files/lib/python --implementation py --no-deps --upgrade --pre debugpy | 393 | | -
| 394 | 388 | - name: Install test requirements | 395 | 389 | run: python -m pip install --upgrade -r build/test-requirements.txt | 396 | 390 |
| |
Collapse file Copy file name to clipboardExpand all lines: build/azure-pipeline.pre-release.yml +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -54,7 +54,7 @@ extends: | 54 | 54 |
| 55 | 55 | - script: | | 56 | 56 | nox --session install_python_libs | 57 | | - displayName: Install debugpy, Jedi, get-pip, etc | | 57 | + displayName: Install Jedi, get-pip, etc | 58 | 58 |
| 59 | 59 | - script: | | 60 | 60 | python ./build/update_ext_version.py --for-publishing | |
Collapse file Copy file name to clipboardExpand all lines: build/azure-pipeline.stable.yml +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -49,7 +49,7 @@ extends: | 49 | 49 |
| 50 | 50 | - script: | | 51 | 51 | nox --session install_python_libs | 52 | | - displayName: Install debugpy, Jedi, get-pip, etc | | 52 | + displayName: Install Jedi, get-pip, etc | 53 | 53 |
| 54 | 54 | - script: | | 55 | 55 | python ./build/update_ext_version.py --release --for-publishing | |
Collapse file Copy file name to clipboardExpand all lines: noxfile.py -7Lines changed: 0 additions & 7 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -32,13 +32,6 @@ def install_python_libs(session: nox.Session): | 32 | 32 |
| 33 | 33 | session.install("packaging") | 34 | 34 |
| 35 | | - # Install debugger | 36 | | - session.run( | 37 | | - "python", | 38 | | - "./python_files/install_debugpy.py", | 39 | | - env={"PYTHONPATH": "./python_files/lib/temp"}, | 40 | | - ) | 41 | | - | 42 | 35 | # Download get-pip script | 43 | 36 | session.run( | 44 | 37 | "python", | |
Collapse file Copy file name to clipboardExpand all lines: python_files/install_debugpy.py -66Lines changed: 0 additions & 66 deletions Collapse file Copy file name to clipboardExpand all lines: python_files/pyproject.toml -2Lines changed: 0 additions & 2 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -16,15 +16,13 @@ extraPaths = ['lib/python', 'lib/jedilsp'] | 16 | 16 | ignore = [ | 17 | 17 | # Ignore all pre-existing code with issues | 18 | 18 | 'get-pip.py', | 19 | | - 'install_debugpy.py', | 20 | 19 | 'tensorboard_launcher.py', | 21 | 20 | 'testlauncher.py', | 22 | 21 | 'visualstudio_py_testlauncher.py', | 23 | 22 | 'testing_tools/unittest_discovery.py', | 24 | 23 | 'testing_tools/adapter/util.py', | 25 | 24 | 'testing_tools/adapter/pytest/_discovery.py', | 26 | 25 | 'testing_tools/adapter/pytest/_pytest_item.py', | 27 | | - 'tests/debug_adapter/test_install_debugpy.py', | 28 | 26 | 'tests/testing_tools/adapter/.data', | 29 | 27 | 'tests/testing_tools/adapter/test___main__.py', | 30 | 28 | 'tests/testing_tools/adapter/test_discovery.py', | |
|