Typescript with VS Code debug issue #3278
-
It seems like debugging in VSCode is not working with Typescript in my case. I'm working in a monorepo, Node v21.4.0, TS 5.3.3, Ava 6.0.1. ava.config.js: failFast: false,
timeout: "30s",
files: ["tests/**/*.test.ts"],
extensions: { ts: "module" },
workerThreads: false,
require: ["dotenv/config"], I'm using tsx and JavaScript Debug Terminal: |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
There are a lot of variables there. My hunch is the |
Beta Was this translation helpful? Give feedback.
-
Ok, debugging seems to work when I use |
Beta Was this translation helpful? Give feedback.
Ok, debugging seems to work when I use
nodeArguments: ["--import=tsx"]
but fails whenNODE_OPTIONS: "--import=tsx"