Add .env with default development settings and .vscode debug configurations for easier local development. - .env: Development environment variables (PORT, DEBUG, PULL_INTERVAL) - .vscode/launch.json: Debug configurations for server and Jest tests - .vscode/settings.json: Jest integration settings 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
58 lines
1.7 KiB
JSON
58 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": "Debug Server",
|
|
"type": "node",
|
|
"request": "launch",
|
|
"envFile": "${workspaceFolder}/.env",
|
|
"skipFiles": [
|
|
"<node_internals>/**"
|
|
],
|
|
"runtimeExecutable": "npm",
|
|
"runtimeArgs": [
|
|
"run-script",
|
|
"start"
|
|
],
|
|
"sourceMaps": true,
|
|
},
|
|
{
|
|
"type": "node",
|
|
"name": "vscode-jest-tests",
|
|
"request": "launch",
|
|
"envFile": "${workspaceFolder}/.env",
|
|
"console": "integratedTerminal",
|
|
"internalConsoleOptions": "neverOpen",
|
|
"cwd": "${workspaceFolder}",
|
|
"runtimeExecutable": "npm",
|
|
"args": [
|
|
"run",
|
|
"test",
|
|
"--",
|
|
"--runInBand",
|
|
"--watchAll=false"
|
|
]
|
|
},
|
|
{
|
|
"type": "node",
|
|
"name": "vscode-jest-tests-1634200842588",
|
|
"request": "launch",
|
|
"envFile": "${workspaceFolder}/.env",
|
|
"console": "integratedTerminal",
|
|
"internalConsoleOptions": "neverOpen",
|
|
"cwd": "${workspaceFolder}",
|
|
"runtimeExecutable": "npm",
|
|
"args": [
|
|
"run",
|
|
"test",
|
|
"--",
|
|
"--runInBand",
|
|
"--watchAll=false"
|
|
]
|
|
},
|
|
|
|
]
|
|
} |