0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-25 02:49:32 +01:00
posthog/plugin-server/.vscode/launch.json
Michael Matloka faf75ebb5e
refactor(ingestion): Make KAFKA_ENABLED true by default and set KAFKA_HOSTS default (#9844)
* refactor(ingestion): Make `KAFKA_ENABLED` true by default

* Sync `KAFKA_HOSTS` defaults too

* Update snapshots

* Update "kafka" to "kafka:9092"

* Revert "Update "kafka" to "kafka:9092""

This reverts commit d954ac6fa6.

* Update some tests

* Revert "Revert "Update "kafka" to "kafka:9092"""

This reverts commit 07edfa6c5e.

* Update test_0004_replicated_schema.ambr

* Remove `KAFKA_ENABLED` and `KAFKA_HOSTS` from places

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2022-05-19 19:18:15 +02:00

53 lines
2.0 KiB
JSON

{
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Debug (Postgres)",
"type": "node",
"request": "launch",
"protocol": "inspector",
"restart": true,
"internalConsoleOptions": "openOnSessionStart",
"skipFiles": ["<node_internals>/**", "${workspaceFolder}/node_modules/@posthog/piscina/**"],
"runtimeExecutable": "${workspaceFolder}/node_modules/.bin/ts-node-dev",
"runtimeArgs": ["--inspect", "--exit-child"],
"args": ["src/index.ts"],
"env": {
"NODE_ENV": "dev",
"BASE_DIR": "${workspaceFolder}/../posthog"
}
},
{
"name": "Debug (ClickHouse)",
"type": "node",
"request": "launch",
"protocol": "inspector",
"restart": true,
"internalConsoleOptions": "openOnSessionStart",
"skipFiles": ["<node_internals>/**", "${workspaceFolder}/node_modules/@posthog/piscina/**"],
"runtimeExecutable": "${workspaceFolder}/node_modules/.bin/ts-node-dev",
"runtimeArgs": ["--inspect", "--exit-child"],
"args": ["src/index.ts"],
"env": {
"NODE_ENV": "dev",
"BASE_DIR": "${workspaceFolder}/../posthog"
}
},
{
"type": "node",
"name": "vscode-jest-tests",
"request": "launch",
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen",
"disableOptimisticBPs": true,
"program": "${workspaceFolder}/node_modules/.bin/jest",
"cwd": "${workspaceFolder}",
"args": ["--runInBand", "--forceExit", "--watchAll=false"],
"env": {
"DATABASE_URL": "postgres://localhost:5432/test_posthog"
}
}
]
}