From f4f3b09a066ed3cd281f09bfd51df82a2643b429 Mon Sep 17 00:00:00 2001 From: Nate Date: Sun, 23 Feb 2025 14:22:47 -0800 Subject: [PATCH] launch config to debug config-yaml tests --- .vscode/launch.json | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/.vscode/launch.json b/.vscode/launch.json index 7a5161729..294429bcb 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -138,6 +138,25 @@ "env": { "NODE_OPTIONS": "--experimental-vm-modules" } + }, + { + "name": "[config-yaml] Jest Test Debugger, Current Open File", + "type": "node", + "request": "launch", + "runtimeArgs": [ + "--inspect-brk", + "${workspaceRoot}/packages/config-yaml/node_modules/jest/bin/jest.js", + "--runInBand", + "--config", + "${workspaceRoot}/packages/config-yaml/jest.config.mjs", + "${relativeFile}" + ], + "cwd": "${workspaceRoot}/packages/config-yaml", + "console": "integratedTerminal", + "internalConsoleOptions": "neverOpen", + "env": { + "NODE_OPTIONS": "--experimental-vm-modules" + } } ] }