mirror of
https://github.com/DOI-DO/j40-cejst-2.git
synced 2025-02-22 17:44:20 -08:00
* Fixes #280 - adds territory focus buttons for Alaska, Hawaii, Lower 48, and Puerto Rico to enable easy zoom to these locations * Adding tests - Specifically: * Adding VSCode debug command for Cypress and debug port specification * Disabling CORS on local tests * Adding waitForMapIdle Cypress test helper * Adding constants for easy change and access
59 lines
1.4 KiB
JSON
59 lines
1.4 KiB
JSON
{
|
|
"version": "0.2.0",
|
|
"configurations": [
|
|
{
|
|
"type": "chrome",
|
|
"request": "launch",
|
|
"name": "Debug Chrome",
|
|
"url": "http://localhost:8000",
|
|
"webRoot": "${workspaceFolder}"
|
|
},
|
|
{
|
|
"name": "Gatsby develop",
|
|
"type": "node",
|
|
"request": "launch",
|
|
"protocol": "inspector",
|
|
"program": "${workspaceRoot}/node_modules/gatsby/dist/bin/gatsby",
|
|
"args": ["develop"],
|
|
"stopOnEntry": false,
|
|
"runtimeArgs": ["--nolazy"],
|
|
"sourceMaps": false
|
|
},
|
|
{
|
|
"name": "Gatsby build",
|
|
"type": "node",
|
|
"request": "launch",
|
|
"protocol": "inspector",
|
|
"program": "${workspaceRoot}/node_modules/gatsby/dist/bin/gatsby",
|
|
"args": ["build"],
|
|
"stopOnEntry": false,
|
|
"runtimeArgs": ["--nolazy"],
|
|
"sourceMaps": false
|
|
},
|
|
{
|
|
"name": "Debug Jest Tests",
|
|
"type": "node",
|
|
"request": "launch",
|
|
"runtimeArgs": [
|
|
"--inspect-brk",
|
|
"--inspect",
|
|
"${workspaceRoot}/node_modules/.bin/jest"
|
|
],
|
|
"console": "integratedTerminal",
|
|
"internalConsoleOptions": "neverOpen",
|
|
"port": 9229
|
|
},
|
|
{
|
|
"type": "chrome",
|
|
"request": "attach",
|
|
"name": "Debug Cypress",
|
|
"port": 9222,
|
|
"urlFilter": "http://localhost*",
|
|
"webRoot": "${workspaceFolder}",
|
|
"sourceMaps": true,
|
|
"skipFiles": [
|
|
"cypress_runner.js",
|
|
],
|
|
},
|
|
]
|
|
}
|