Drop the unused thinapps-shared submodule entry and simplify VS Code launch profiles to the standalone crawl, search, and serp entrypoints used by the open-source version.
91 lines
2.1 KiB
JSON
91 lines
2.1 KiB
JSON
{
|
|
"version": "0.2.0",
|
|
"configurations": [
|
|
{
|
|
"name": "Attach",
|
|
"port": 9229,
|
|
"request": "attach",
|
|
"skipFiles": [
|
|
"<node_internals>/**"
|
|
],
|
|
"type": "node"
|
|
},
|
|
{
|
|
"name": "Attach by Process ID",
|
|
"processId": "${command:PickProcess}",
|
|
"request": "attach",
|
|
"skipFiles": [
|
|
"<node_internals>/**"
|
|
],
|
|
"type": "node"
|
|
},
|
|
{
|
|
"name": "Debug Stand Alone Crawl",
|
|
"request": "launch",
|
|
"runtimeArgs": [
|
|
"--env-file=.secret.local"
|
|
],
|
|
"cwd": "${workspaceFolder}",
|
|
"program": "build/stand-alone/crawl.js",
|
|
"skipFiles": [
|
|
"<node_internals>/**"
|
|
],
|
|
"type": "node",
|
|
"outputCapture": "std",
|
|
"preLaunchTask": "Backend:build:watch",
|
|
"killBehavior": "forceful"
|
|
},
|
|
{
|
|
"name": "Debug Stand Alone Crawl + Browser",
|
|
"request": "launch",
|
|
"runtimeArgs": [
|
|
"--env-file=.secret.local"
|
|
],
|
|
"env": {
|
|
"DEBUG_BROWSER": "true"
|
|
},
|
|
"cwd": "${workspaceFolder}",
|
|
"program": "build/stand-alone/crawl.js",
|
|
"skipFiles": [
|
|
"<node_internals>/**"
|
|
],
|
|
"type": "node",
|
|
"outputCapture": "std",
|
|
"preLaunchTask": "Backend:build:watch",
|
|
"killBehavior": "forceful"
|
|
},
|
|
{
|
|
"name": "Debug Stand Alone Search",
|
|
"request": "launch",
|
|
"runtimeArgs": [
|
|
"--env-file=.secret.local"
|
|
],
|
|
"cwd": "${workspaceFolder}",
|
|
"program": "build/stand-alone/search.js",
|
|
"skipFiles": [
|
|
"<node_internals>/**"
|
|
],
|
|
"type": "node",
|
|
"outputCapture": "std",
|
|
"preLaunchTask": "Backend:build:watch",
|
|
"killBehavior": "forceful"
|
|
},
|
|
{
|
|
"name": "Debug Stand Alone SERP",
|
|
"request": "launch",
|
|
"runtimeArgs": [
|
|
"--env-file=.secret.local"
|
|
],
|
|
"cwd": "${workspaceFolder}",
|
|
"program": "build/stand-alone/serp.js",
|
|
"skipFiles": [
|
|
"<node_internals>/**"
|
|
],
|
|
"type": "node",
|
|
"outputCapture": "std",
|
|
"preLaunchTask": "Backend:build:watch",
|
|
"killBehavior": "forceful"
|
|
}
|
|
]
|
|
}
|