From eb7b9db23f336c54ee0645ffd0b65335b7cd550d Mon Sep 17 00:00:00 2001 From: Alexander Cerutti Date: Sat, 17 Feb 2024 01:43:52 +0100 Subject: [PATCH] Fixed vscode debug launching configuration --- .vscode/launch.json | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.vscode/launch.json b/.vscode/launch.json index c0c8d51..5e41b61 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -23,12 +23,13 @@ "request": "launch", "console": "integratedTerminal", "internalConsoleOptions": "neverOpen", - "disableOptimisticBPs": true, + "env": { + "NODE_OPTIONS": "--experimental-vm-modules --no-warnings" + }, + "runtimeExecutable": "pnpm", "cwd": "${workspaceFolder}", "args": [ - "--experimental-vm-modules", - "--no-warnings", - "${workspaceRoot}/node_modules/.bin/jest", + "jest", "-c", "${workspaceRoot}/jest.config.mjs", "--runInBand",