Closed AaronPorts closed 11 months ago
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: cross-env NODE_OPTIONS=--import=tsx DOTENV_CONFIG_PATH=./.development.env ava , but the breakpoints are not being triggered.
cross-env NODE_OPTIONS=--import=tsx DOTENV_CONFIG_PATH=./.development.env ava
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:
I'm using tsx and JavaScript Debug Terminal:
cross-env NODE_OPTIONS=--import=tsx DOTENV_CONFIG_PATH=./.development.env ava
, but the breakpoints are not being triggered.