knsv/mermaid

View on GitHub
.vscode/launch.json

Summary

Maintainability
Test Coverage
{
  // 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"
    },
    {
      "name": "Docs generation",
      "type": "node",
      "request": "launch",
      "args": ["scripts/docs.cli.mts"],
      // we'll need to change this to --import in Node.JS v20.6.0 and up
      "runtimeArgs": ["--loader", "tsx/esm"],
      "cwd": "${workspaceRoot}/packages/mermaid",
      "skipFiles": ["<node_internals>/**", "**/node_modules/**"],
      "smartStep": true,
      "internalConsoleOptions": "openOnSessionStart"
    }
  ]
}