feat(debug): add new vscode extension recommendations and launch config

This commit is contained in:
Danny Coates 2021-05-17 10:18:01 -07:00
Родитель d980f0fb2e
Коммит 02d7b5f54f
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4C442633C62E00CB
2 изменённых файлов: 15 добавлений и 59 удалений

4
.vscode/extensions.json поставляемый
Просмотреть файл

@ -8,6 +8,8 @@
"ms-vsliveshare.vsliveshare",
"github.vscode-pull-request-github",
"bierner.github-markdown-preview",
"alex-young.pm2-explorer"
"alex-young.pm2-explorer",
"dannycoates.pm2-node-debugger",
"firefox-devtools.vscode-firefox-debug"
]
}

70
.vscode/launch.json поставляемый
Просмотреть файл

@ -11,68 +11,22 @@
"service": "${command:PickProcess}"
},
{
"name": "Attach to auth",
"type": "node",
"type": "firefox",
"request": "attach",
"skipFiles": ["<node_internals>/**"],
"cwd": "${workspaceFolder}",
"port": 9160
"name": "Attach to Firefox"
},
{
"name": "Attach to content",
"name": "Functional Tests",
"type": "node",
"request": "attach",
"skipFiles": ["<node_internals>/**"],
"cwd": "${workspaceFolder}",
"port": 9130
},
{
"name": "Attach to broker",
"type": "node",
"request": "attach",
"skipFiles": ["<node_internals>/**"],
"cwd": "${workspaceFolder}",
"port": 9180
},
{
"name": "Attach to payments",
"type": "node",
"request": "attach",
"skipFiles": ["<node_internals>/**"],
"cwd": "${workspaceFolder}",
"port": 9170
},
{
"name": "Attach to support",
"type": "node",
"request": "attach",
"skipFiles": ["<node_internals>/**"],
"cwd": "${workspaceFolder}",
"port": 9190
},
{
"name": "Attach to admin",
"type": "node",
"request": "attach",
"skipFiles": ["<node_internals>/**"],
"cwd": "${workspaceFolder}",
"port": 9140
},
{
"name": "Attach to admin-server",
"type": "node",
"request": "attach",
"skipFiles": ["<node_internals>/**"],
"cwd": "${workspaceFolder}",
"port": 9150
},
{
"name": "Attach to graphql-api server",
"type": "node",
"request": "attach",
"skipFiles": ["<node_internals>/**"],
"cwd": "${workspaceFolder}",
"port": 9200
"protocol": "inspector",
"env": {
"DEBUG": "1"
},
"program": "${workspaceFolder}/node_modules/folio/cli.js",
"args": ["--config=${workspaceFolder}/packages/fxa-settings/fnl/config.ts", "--timeout=0"],
"autoAttachChildProcesses": true,
"cwd":"${workspaceFolder}",
"request": "launch",
}
]
}