2022-09-22 12:06:30 -04:00
|
|
|
{
|
|
|
|
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
|
|
|
|
"version": "0.2.0",
|
|
|
|
"configurations": [
|
|
|
|
{
|
|
|
|
"type": "node",
|
|
|
|
"request": "launch",
|
|
|
|
"name": "Debug Current Test File",
|
|
|
|
"autoAttachChildProcesses": true,
|
|
|
|
"skipFiles": ["<node_internals>/**", "**/node_modules/**"],
|
|
|
|
"program": "${workspaceRoot}/node_modules/vitest/vitest.mjs",
|
|
|
|
"args": ["run", "${relativeFile}"],
|
|
|
|
"smartStep": true,
|
|
|
|
"console": "integratedTerminal"
|
2022-10-28 14:13:24 +05:30
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Docs generation",
|
|
|
|
"type": "node",
|
|
|
|
"request": "launch",
|
2023-07-07 15:57:05 +05:30
|
|
|
"args": ["src/docs.cli.mts"],
|
2022-10-28 14:13:24 +05:30
|
|
|
"runtimeArgs": ["--loader", "ts-node/esm"],
|
|
|
|
"cwd": "${workspaceRoot}/packages/mermaid",
|
|
|
|
"skipFiles": ["<node_internals>/**", "**/node_modules/**"],
|
|
|
|
"smartStep": true,
|
|
|
|
"internalConsoleOptions": "openOnSessionStart"
|
2022-09-22 12:06:30 -04:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|