oav/.vscode/launch.json

167 строки
5.0 KiB
JSON
Исходник Обычный вид История

2016-11-09 03:38:30 +03:00
{
// Use IntelliSense to learn about possible Node.js debug attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"address": "TCP/IP address of process to be debugged",
"localRoot": "${workspaceFolder}",
"name": "Attach to Remote",
"port": 9229,
"remoteRoot": "Absolute path to the remote directory containing the program",
"request": "attach",
"skipFiles": [
"<node_internals>/**"
],
"type": "pwa-node"
},
{
"type": "node",
"request": "launch",
"name": "Validate Spec",
"program": "${workspaceRoot}/dist/cli.js",
"cwd": "${workspaceRoot}",
"args": [
"validate-spec",
"../azure-rest-api-specs/specification/storage/resource-manager/Microsoft.Storage/stable/2018-07-01/blob.json"
],
"env": {}
},
{
"type": "node",
"request": "launch",
"name": "Validate Traffic",
"program": "${workspaceRoot}/dist/cli.js",
"cwd": "${workspaceRoot}",
"args": [
"validate-traffic",
"${workspaceRoot}/test/liveValidation/payloads/test-validate-traffic.json",
"${workspaceRoot}/test/liveValidation/swaggers/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/dns.json"
],
"env": {}
},
{
"type": "node",
"request": "launch",
"name": "Validate example",
"program": "${workspaceRoot}/dist/cli.js",
"cwd": "${workspaceRoot}",
"args": [
"validate-example",
2019-03-08 03:42:07 +03:00
"C:/github.com/Azure/azure-rest-api-specs/specification/cdn/resource-manager/Microsoft.Cdn/stable/2017-10-12/cdn.json",
"--pretty"
],
"env": {}
},
{
"type": "node",
"request": "launch",
"name": "Validate Network examples",
"program": "${workspaceRoot}/dist/scripts/testNetwork.js",
"cwd": "${workspaceRoot}",
"env": {}
},
{
"type": "node",
"request": "launch",
"name": "Extract example",
"program": "${workspaceRoot}/dist/cli.js",
"cwd": "${workspaceRoot}",
"args": [
"extract-xmsexamples",
"./test/xMsExamplesExtractor/databox.json",
"./test/xMsExamplesExtractor/SessionRecords"
],
"env": {}
},
{
"type": "node",
"request": "launch",
"name": "Resolve Spec",
2018-09-25 23:19:56 +03:00
"program": "${workspaceRoot}/dist/cli.js",
"cwd": "${workspaceRoot}",
"args": [
"resolve-spec",
2018-09-25 23:19:56 +03:00
"-r",
"../azure-rest-api-specs/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/applicationGateway.json"
],
"env": {}
},
2018-09-27 00:20:05 +03:00
{
"type": "node",
"request": "launch",
"name": "Model Validation",
"program": "${workspaceRoot}/dist/cli.js",
"cwd": "${workspaceRoot}",
"args": [
"validate-example",
"../azure-rest-api-specs/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimversionsets.json"
],
"env": {}
},
2017-12-04 21:42:00 +03:00
{
"type": "node",
"request": "launch",
"name": "generate uml",
"program": "${workspaceRoot}/cli.js",
"cwd": "${workspaceRoot}",
"args": [
"generate-uml",
"D:/sdk/azure-rest-api-specs-pr/specification/datamigration/resource-manager/Microsoft.DataMigration/2017-11-15-preview/datamigration.json"
],
"env": {}
},
{
"type": "node",
"request": "launch",
"name": "generate wireformat",
"program": "${workspaceRoot}/cli.js",
"cwd": "${workspaceRoot}",
"args": ["generate-wireformat", "test/swaggers/arm-storage/2016-01-01/swagger/storage.json"],
"env": {}
},
{
"type": "node",
"request": "launch",
"name": "Live Validator",
"program": "${workspaceRoot}/dist/test/sample",
"preLaunchTask": "tsc: build - tsconfig.json",
"cwd": "${workspaceRoot}",
"env": {}
},
{
"type": "node",
"request": "launch",
"name": "Jest All",
"program": "${workspaceFolder}/node_modules/.bin/jest",
"args": ["--runInBand"],
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen",
"disableOptimisticBPs": true,
"windows": {
"program": "${workspaceFolder}/node_modules/jest/bin/jest"
}
},
{
"type": "node",
"request": "launch",
"name": "Jest Current File",
"program": "${workspaceFolder}/node_modules/.bin/jest",
2020-11-24 06:07:36 +03:00
"args": ["--runTestsByPath", "test/liveValidatorTests.ts", "--coverage", "false"],
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen",
"disableOptimisticBPs": true,
"windows": {
"program": "${workspaceFolder}/node_modules/jest/bin/jest"
}
},
{
"type": "node",
"request": "attach",
"name": "Attach to Process",
"processId": "${command:PickProcess}"
}
]
}