From 44b577d62baf02c754f377b9595f177ee5a6348c Mon Sep 17 00:00:00 2001 From: Mason Houtz Date: Wed, 10 Mar 2021 08:25:39 -0800 Subject: [PATCH] added sample jest debugger to launch_gitpod --- .vscode/launch_gitpod.json | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/.vscode/launch_gitpod.json b/.vscode/launch_gitpod.json index 04a17726d1f3..c9bee582dcde 100644 --- a/.vscode/launch_gitpod.json +++ b/.vscode/launch_gitpod.json @@ -6,7 +6,7 @@ "type": "python", "request": "launch", "module": "uvicorn", - "args": ["--app-dir", "lib", "--factory", "galaxy.webapps.galaxy.fast_factory:factory"], + "args": ["--app-dir", "lib", "--factory", "galaxy.webapps.galaxy.fast_factory:factory"], "env": { "GALAXY_CONFIG_FILE": "${workspaceFolder}/config/galaxy.yml", "GALAXY_CONDA_AUTO_INIT": "false", @@ -26,7 +26,21 @@ "-k", "job_properties_test_2" ] + }, + { + "type": "node", + "name": "debug selected jest unit test", + "request": "launch", + "program": "${workspaceFolder}/client/node_modules/jest/bin/jest", + "args": [ + "--runInBand", + "--config", + "${workspaceFolder}/client/tests/jest/jest.config.js", + "${file}" + ], + "cwd": "${workspaceFolder}/client", + "console": "integratedTerminal", + "disableOptimisticBPs": true } ] } -