|
13 | 13 | } |
14 | 14 | ], |
15 | 15 | "configurations": [ |
| 16 | + { |
| 17 | + "name": "Attach Test", |
| 18 | + "port": 9229, |
| 19 | + "request": "attach", |
| 20 | + "skipFiles": [ |
| 21 | + "<node_internals>/**" |
| 22 | + ], |
| 23 | + "type": "node" |
| 24 | + }, |
16 | 25 | { |
17 | 26 | "type": "node", |
18 | 27 | "request": "launch", |
19 | 28 | "name": "Debug Demo (TS only)", |
20 | 29 | "program": "${workspaceFolder}/${input:DEMO_NAME}", |
21 | 30 | "stopOnEntry": false, |
22 | | - "args": ["${input:DEMO_ARGS}"], |
23 | | - "runtimeArgs": ["--experimental-vm-modules"], |
| 31 | + "args": [ |
| 32 | + "${input:DEMO_ARGS}" |
| 33 | + ], |
| 34 | + "runtimeArgs": [ |
| 35 | + "--experimental-vm-modules" |
| 36 | + ], |
24 | 37 | "cwd": "${workspaceFolder}/${input:DEMO_NAME}", |
25 | 38 | "console": "integratedTerminal", |
26 | 39 | "internalConsoleOptions": "neverOpen", |
|
44 | 57 | { |
45 | 58 | "name": "Debug Demo (launch gdb)", |
46 | 59 | // hide the individual configurations from the debug dropdown list |
47 | | - "presentation": { "hidden": true }, |
| 60 | + "presentation": { |
| 61 | + "hidden": true |
| 62 | + }, |
48 | 63 | "type": "cppdbg", |
49 | 64 | "request": "launch", |
50 | 65 | "stopAtEntry": false, |
|
62 | 77 | ], |
63 | 78 | "program": "${input:NODE_BINARY}", |
64 | 79 | "environment": [ |
65 | | - { "name": "NODE_DEBUG", "value": "1" }, |
66 | | - { "name": "NODE_NO_WARNINGS", "value": "1" }, |
67 | | - { "name": "NODE_ENV", "value": "production" }, |
| 80 | + { |
| 81 | + "name": "NODE_DEBUG", |
| 82 | + "value": "1" |
| 83 | + }, |
| 84 | + { |
| 85 | + "name": "NODE_NO_WARNINGS", |
| 86 | + "value": "1" |
| 87 | + }, |
| 88 | + { |
| 89 | + "name": "NODE_ENV", |
| 90 | + "value": "production" |
| 91 | + }, |
68 | 92 | // { "name": "READABLE_STREAM", "value": "disable" }, |
69 | 93 | ], |
70 | 94 | "args": [ |
|
80 | 104 | "type": "node", |
81 | 105 | "request": "attach", |
82 | 106 | // hide the individual configurations from the debug dropdown list |
83 | | - "presentation": { "hidden": true }, |
| 107 | + "presentation": { |
| 108 | + "hidden": true |
| 109 | + }, |
84 | 110 | "port": 9229, |
85 | 111 | "timeout": 60000, |
86 | 112 | "cwd": "${workspaceFolder}", |
|
113 | 139 | "command": "shellCommand.execute", |
114 | 140 | "args": { |
115 | 141 | "description": "Select a demo to debug", |
116 | | - "command": "echo client-server viz-app luma graph spatial xterm $(find modules/demo/deck modules/demo/tfjs modules/demo/ipc modules/demo/ssr modules/demo/sql -maxdepth 2 -type f -name 'package.json' -print0 | grep -z -v node_modules | tr -d '\\0' | sed -r 's@modules/demo/@@g' | sed -r 's@/package.json@ @g') | sort -Vr | sed -r 's@\\s@\\n@g'", |
| 142 | + "command": "echo client-server viz-app api-server luma graph spatial xterm $(find modules/demo/deck modules/demo/tfjs modules/demo/ipc modules/demo/ssr modules/demo/sql -maxdepth 2 -type f -name 'package.json' -print0 | grep -z -v node_modules | tr -d '\\0' | sed -r 's@modules/demo/@@g' | sed -r 's@/package.json@ @g') | sort -Vr | sed -r 's@\\s@\\n@g'", |
117 | 143 | } |
118 | 144 | }, |
119 | 145 | ] |
|
0 commit comments