2017-02-10 03:56:57 +08:00
|
|
|
{
|
|
|
|
|
"version": "0.2.0",
|
|
|
|
|
"configurations": [
|
2025-05-26 20:25:06 +08:00
|
|
|
|
2017-02-10 03:56:57 +08:00
|
|
|
{
|
|
|
|
|
"type": "node",
|
|
|
|
|
"request": "launch",
|
2022-01-20 23:04:37 +08:00
|
|
|
"name": "Launch Server",
|
2020-03-03 05:12:37 +08:00
|
|
|
"cwd": "${workspaceFolder}",
|
|
|
|
|
"runtimeExecutable": "npm",
|
|
|
|
|
"runtimeArgs": ["run-script", "start"],
|
2022-01-20 05:47:41 +08:00
|
|
|
"noDebug": true,
|
|
|
|
|
"serverReadyAction":{
|
|
|
|
|
"action": "startDebugging",
|
2022-01-26 00:50:53 +08:00
|
|
|
"name": "Launch in Chrome",
|
2022-01-20 05:47:41 +08:00
|
|
|
"pattern": "Cesium development server running locally."
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
2022-01-20 23:04:37 +08:00
|
|
|
"name": "Launch in Chrome",
|
2022-01-20 05:47:41 +08:00
|
|
|
"request": "launch",
|
2022-11-04 00:24:12 +08:00
|
|
|
"type": "chrome",
|
2022-01-20 05:47:41 +08:00
|
|
|
"url": "http://localhost:8080",
|
|
|
|
|
"webRoot": "${workspaceFolder}"
|
2025-07-08 03:50:56 +08:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"request": "attach",
|
|
|
|
|
"name": "Attach to Karma",
|
|
|
|
|
"type": "chrome",
|
|
|
|
|
"port": 9333, // This is the remote debugging port specified in karma.conf.cjs
|
2025-07-09 01:33:40 +08:00
|
|
|
"webRoot": "${workspaceFolder}",
|
|
|
|
|
"timeout": 60000
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"type": "node",
|
|
|
|
|
"request": "launch",
|
|
|
|
|
"name": "Launch Test Suite",
|
|
|
|
|
"cwd": "${workspaceFolder}",
|
|
|
|
|
"runtimeExecutable": "npm",
|
|
|
|
|
"runtimeArgs": ["run", "test", "--", "--includeName", "${fileDirnameBasename}${/}${fileBasenameNoExtension}", "--debug"],
|
|
|
|
|
"console": "integratedTerminal"
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"compounds": [
|
|
|
|
|
{
|
|
|
|
|
"name": "Launch Test Suite and Debug in VSCode",
|
|
|
|
|
"configurations": [
|
|
|
|
|
"Launch Test Suite",
|
|
|
|
|
"Attach to Karma"
|
|
|
|
|
]
|
2017-02-10 03:56:57 +08:00
|
|
|
}
|
|
|
|
|
]
|
2020-03-02 22:39:37 +08:00
|
|
|
}
|