Skip to content

Can't Debug Tests: '${MODULES_USE_COMPAT_VERSION:-0}'  #7975

Closed

Description

Environment data

  • VS Code version: XXX

  • Extension version (available under the Extensions sidebar):

  • OS and version: Fedora 30

  • Python version (& distribution if applicable, e.g. Anaconda): Various

  • Type of virtual environment used (N/A | venv | virtualenv | conda | ...): XXX

  • Relevant/affected Python packages and their versions: XXX

  • Jedi or Language Server? (i.e. what is "python.jediEnabled" set to; more info How to update the language server to the latest stable version #3977): XXX

Expected behaviour

A debugging session would open for the given test(s)

Actual behaviour

This popup appears:
image

Steps to reproduce:

  1. Click on the debug icon , either for individual tests or for all the tests

Logs

No relevant logs found in output.

image

Activity

  1. added
    triage-needed
    bug
    on Oct 14, 2019
  2. drytdubs commented on Oct 14, 2019

    @drytdubs

    Seeing similar error when clicking on Debug Test adornment above test method. Run Test adornment works fine. Noted similar issue in the go project: microsoft/vscode-go#2831

    image

    Version: 1.39.0
    Commit: 9df03c6d6ce97c6645c5846f6dfa2a6a7d276515
    Date: 2019-10-09T06:57:43.593Z
    Electron: 4.2.10
    Chrome: 69.0.3497.128
    Node.js: 10.11.0
    V8: 6.9.427.31-electron.0
    OS: Darwin x64 18.7.0

  3. ghost removed
    triage-needed
    on Oct 15, 2019
  4. DonJayamanne commented on Oct 16, 2019

    @DonJayamanne

    Karthik Nadig (@karthiknadig) there's an upstream issue microsoft/vscode#82611
    Most likely caused by something in VSC

  5. karthiknadig commented on Oct 17, 2019

    @karthiknadig
    Member

    Looks like this has to be addressed in VS Code. See this comment for potential workaround: microsoft/vscode#82611 (comment)

  6. locked as resolved and limited conversation to collaborators on Oct 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions