onnxruntime/js/.vscode/launch.json
Yulong Wang afac67bcc3
[build] fix the CI pipeline (#16962)
### Description
There are currently multiple failures that blocking the CI pipelines so
this PR has all of the fixes in order to make sure it passes the CI.
Otherwise a single fix will still fail the CI.

includes:
#16960
#16958

Please help to make sure this PR get merged once CI passed.

@snnn @carzh @guschmue 

Fixed:
[AB#18118](https://aiinfra.visualstudio.com/6a833879-cd9b-44a4-a9de-adc2d818f13c/_workitems/edit/18118)

---------

Co-authored-by: Caroline Zhu <carolinezhu@microsoft.com@orttrainingdev7.d32nl1ml4oruzj4qz3bqlggovf.px.internal.cloudapp.net>
2023-08-01 16:22:45 -07:00

55 lines
1.7 KiB
JSON

{
// 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": [
{
"name": "[common] Launch Unit Tests",
"args": ["-u", "bdd", "--timeout", "999999", "--colors", "${workspaceFolder}/common/test/**/*.js"],
"internalConsoleOptions": "openOnSessionStart",
"program": "${workspaceFolder}/node_modules/mocha/bin/_mocha",
"cwd": "${workspaceFolder}/common",
"request": "launch",
"skipFiles": ["<node_internals>/**"],
"type": "node",
"sourceMaps": true,
"preLaunchTask": "tsc: build - common/test/tsconfig.json"
},
{
"name": "[web] Launch Test Runner",
"program": "${workspaceFolder}/web/script/test-runner-cli.js",
"request": "launch",
"skipFiles": ["<node_internals>/**"],
"type": "node",
"cwd": "${workspaceFolder}/web",
"args": ["suite1"]
},
{
"name": "[web] Attach to Chrome",
"type": "chrome",
"request": "attach",
"port": 9333,
"webRoot": "${workspaceFolder}",
"sourceMapPathOverrides": {
"webpack://ort/*": "${webRoot}/common/*",
"webpack:///*": "${webRoot}/web/*"
},
"sourceMaps": true,
"smartStep": true
},
{
"name": "[web] Remote Browser via Webkit Adaptor",
"type": "chrome",
"request": "attach",
"port": 9000,
"webRoot": "${workspaceFolder}",
"sourceMapPathOverrides": {
"webpack://ort/*": "${webRoot}/common/*",
"webpack:///*": "${webRoot}/web/*"
},
"sourceMaps": true,
"smartStep": true
}
]
}