{
  "version": "0.2.0",
  "configurations": [
    {
      "type": "node",
      "request": "launch",
      "name": "Launch MarkText",
      "program": "${workspaceFolder}/.electron-vue/dev-runner.js",
      "env": {
        "NODE_ENV": "development",
        "MARKTEXT_BUILD_VSCODE_DEBUG": "1"
      },
      "outFiles": [
        "${workspaceFolder}/dist/electron/main.js"
      ]
    },
    {
      "type": "node",
      "request": "attach",
      "name": "Attach to Main Process",
      "port": 5861,
      "timeout": 60000,
      "sourceMaps": true,
      "outFiles": [
        "${workspaceFolder}/dist/electron/main.js"
      ]
    },
    {
      "name": "Attach to Renderer Process",
      "type": "chrome",
      "request": "attach",
      "port": 8315,
      "sourceMaps": true,
      "webRoot": "${workspaceFolder}/src",
      "timeout": 60000,
      "urlFilter": "http://localhost:9091"
    }
  ],
  "compounds": [
    {
      "name": "Debug MarkText",
      "configurations": [
        "Launch MarkText",
        "Attach to Main Process",
        "Attach to Renderer Process"
      ]
    }
  ]
}
