2020-03-06 04:42:18 +03:00
|
|
|
{
|
|
|
|
// Use IntelliSense to learn about possible attributes.
|
|
|
|
// Hover to view descriptions of existing attributes.
|
|
|
|
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
|
|
|
|
"version": "0.2.0",
|
|
|
|
"configurations": [
|
2020-04-22 19:34:16 +03:00
|
|
|
{
|
|
|
|
"type": "pm2-node",
|
|
|
|
"request": "attach",
|
|
|
|
"name": "Attach via PM2",
|
|
|
|
"service": "${command:PickProcess}"
|
|
|
|
},
|
2020-03-06 04:42:18 +03:00
|
|
|
{
|
2021-05-17 20:18:01 +03:00
|
|
|
"type": "firefox",
|
2020-04-10 21:33:30 +03:00
|
|
|
"request": "attach",
|
2021-05-17 20:18:01 +03:00
|
|
|
"name": "Attach to Firefox"
|
2020-04-13 02:54:49 +03:00
|
|
|
},
|
|
|
|
{
|
2021-05-17 20:18:01 +03:00
|
|
|
"name": "Functional Tests",
|
2020-04-13 02:54:49 +03:00
|
|
|
"type": "node",
|
2021-05-17 20:18:01 +03:00
|
|
|
"protocol": "inspector",
|
|
|
|
"env": {
|
2023-05-16 17:00:55 +03:00
|
|
|
"DEBUG": "1",
|
|
|
|
"NODE_OPTIONS": "--dns-result-order=ipv4first",
|
2021-05-17 20:18:01 +03:00
|
|
|
},
|
2021-11-04 23:31:21 +03:00
|
|
|
"program": "${workspaceFolder}/node_modules/@playwright/test/cli.js",
|
|
|
|
"args": ["test","--config=${workspaceFolder}/packages/functional-tests/playwright.config.ts", "--project=local"],
|
2021-05-17 20:18:01 +03:00
|
|
|
"autoAttachChildProcesses": true,
|
2021-11-04 23:31:21 +03:00
|
|
|
"cwd":"${workspaceFolder}/packages/functional-tests",
|
2021-05-17 20:18:01 +03:00
|
|
|
"request": "launch",
|
2020-03-06 04:42:18 +03:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|