|
2 | 2 | "version": "0.2.0", |
3 | 3 | "configurations": [ |
4 | 4 | { |
5 | | - "name": "Debug SST", |
6 | | - "type": "node", |
| 5 | + "name": "Launch WeaMachine (cppdbg)", |
| 6 | + "type": "cppdbg", |
7 | 7 | "request": "launch", |
8 | | - "runtimeExecutable": "${workspaceRoot}/node_modules/.bin/sst", |
9 | | - "runtimeArgs": ["dev", "--increase-timeout"], |
10 | | - "console": "integratedTerminal", |
11 | | - "skipFiles": ["<node_internals>/**"], |
12 | | - // sourceMapRenames helps with the loading spinner when debugging and viewing local variables |
13 | | - "sourceMapRenames": false, |
14 | | - "env": { |
15 | | - "AWS_PROFILE": "flo-ct-flo360" |
16 | | - } |
17 | | - }, |
18 | | - { |
19 | | - "name": "Debug Tests - Unit", |
20 | | - "type": "node", |
21 | | - "request": "launch", |
22 | | - "runtimeExecutable": "${workspaceRoot}/node_modules/.bin/sst", |
23 | | - "runtimeArgs": ["bind", "yarn", "\"jest\"", "\"--watch\"", "\"--config\"", "\"./jest.unit.config.cjs\"", "\"${input:scopeTestsFileName}\""], |
24 | | - "console": "integratedTerminal", |
25 | | - "skipFiles": ["<node_internals>/**"], |
26 | | - "env": { |
27 | | - "AWS_PROFILE": "flo-ct-flo360" |
28 | | - }, |
29 | | - }, |
30 | | - { |
31 | | - "name": "Debug Tests - E2E", |
32 | | - "type": "node", |
33 | | - "request": "launch", |
34 | | - "runtimeExecutable": "${workspaceRoot}/node_modules/.bin/sst", |
35 | | - "runtimeArgs": ["bind", "yarn", "\"vitest\"", "\"--config\"", "\"./vitest.e2e.config.ts\"", "\"${input:scopeTestsFileName}\""], |
36 | | - "console": "integratedTerminal", |
37 | | - "skipFiles": ["<node_internals>/**"], |
38 | | - "env": { |
39 | | - "AWS_PROFILE": "flo-ct-flo360" |
| 8 | + "program": "${workspaceFolder}/build/InjectionMolding", |
| 9 | + "args": [], |
| 10 | + "cwd": "${workspaceFolder}", |
| 11 | + "environment": [], |
| 12 | + "externalConsole": false, |
| 13 | + "MIMode": "gdb", |
| 14 | + "windows": { |
| 15 | + "program": "${workspaceFolder}/build/InjectionMolding.exe", |
| 16 | + "MIMode": "gdb", |
| 17 | + "miDebuggerPath": "gdb.exe" |
40 | 18 | }, |
41 | | - }, |
42 | | - ], |
43 | | - "inputs": [ |
44 | | - { |
45 | | - "id": "scopeTestsFileName", |
46 | | - "type": "promptString", |
47 | | - "description": "Partial file name to scope test debugging to. ex. arena. Leave blank to run all tests.", |
| 19 | + "preLaunchTask": "CMake: build" |
48 | 20 | } |
49 | 21 | ] |
50 | 22 | } |
0 commit comments