2020-03-19 11:19:07 +08:00
|
|
|
{
|
|
|
|
"version": "0.2.0",
|
|
|
|
"configurations": [
|
2020-03-19 16:26:04 +08:00
|
|
|
{
|
|
|
|
"type": "node",
|
|
|
|
"request": "launch",
|
|
|
|
"name": "Launch Jest Tests",
|
|
|
|
"program": "${workspaceFolder}/node_modules/.bin/jest",
|
|
|
|
"args": ["${file}"],
|
|
|
|
"internalConsoleOptions": "openOnSessionStart",
|
|
|
|
"skipFiles": [
|
|
|
|
"<node_internals>/**"
|
|
|
|
]
|
|
|
|
},
|
2020-03-19 15:09:36 +08:00
|
|
|
{
|
|
|
|
"type": "php",
|
|
|
|
"request": "launch",
|
|
|
|
"name": "Launch with XDebug",
|
|
|
|
"ignore": [
|
|
|
|
"**/vendor/**/*.php"
|
|
|
|
]
|
|
|
|
},
|
2020-03-19 11:19:07 +08:00
|
|
|
{
|
|
|
|
"type": "firefox",
|
|
|
|
"request": "launch",
|
|
|
|
"reAttach": true,
|
|
|
|
"name": "Launch with Firefox Debugger",
|
|
|
|
"url": "http://localhost/",
|
|
|
|
"webRoot": "${workspaceFolder}",
|
|
|
|
"pathMappings": [
|
|
|
|
{
|
|
|
|
"url": "webpack:///",
|
|
|
|
"path": "${workspaceFolder}/"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|