Skip to content

[Bug]: Not able to debug #75

Open
Open
@allenzhou7

Description

Node.js Version

v16.15.0

How did you encounter this bug?

Not able to debug Jest tests

Actual Behaviour

Clicking Run is work well, clicking Debug attached debugger and log the below error in Output

[error] [Extension Host] c:\Projects\AXE\branches\features\NG\Source\Web.Core\node_modules.bin\jest:2
basedir=$(dirname "$(echo "$0" | sed -e 's,\,/,g')")
^^^^^^^

SyntaxError: missing ) after argument list
at Object.compileFunction (node:vm:352:18)
at wrapSafe (node:internal/modules/cjs/loader:1033:15)
at Module._compile (node:internal/modules/cjs/loader:1069:27)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12)
at node:internal/main/run_main_module:17:47

Expected Behaviour

Click Debug is working

Code of Conduct

  • I agree to follow jest-runner-vscode's Code of Conduct

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions