Skip to content

Instantly share code, notes, and snippets.

@vmesel
Created November 6, 2023 13:00
Show Gist options
  • Save vmesel/e9fe46c1ddac94cb4c3f0b6e90357d00 to your computer and use it in GitHub Desktop.
Save vmesel/e9fe46c1ddac94cb4c3f0b6e90357d00 to your computer and use it in GitHub Desktop.
{
// 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": "tap-name discover",
"type": "python",
"request": "launch",
"program": "../tap_name/tap.py",
"cwd": "/your/tap/path/to/.secrets",
"args": [
"--config",
"config.json",
"--discover",
">",
"catalog.json"
],
"justMyCode": false,
"python": "/your/path/to/your/python-executable/in/poetry",
"console": "integratedTerminal"
},
{
"name": "singer-discover",
"type": "python",
"request": "launch",
"program": "/your/path/to/your/singer-discover",
"cwd": "/your/tap/path/to/.secrets",
"args": [
"--input",
"catalog.json",
"--output",
"catalog-selected.json",
],
"justMyCode": false,
"python": "/path/to/your/singer-discover/virtualenv",
"console": "integratedTerminal"
},
{
"name": "tap-name get",
"type": "python",
"request": "launch",
"program": "../tap_name/tap.py",
"cwd": "/your/tap/path/to/.secrets",
"args": [
"--config",
"config.json",
"--catalog",
"catalog-selected.json",
">",
"data.txt"
],
"justMyCode": false,
"python": "/your/path/to/your/python-executable/in/poetry",
"console": "integratedTerminal"
},
{
"name": "target-csv",
"cwd": "/your/tap/path/to/.secrets",
"command": "cat data.txt | /path/to/your/target-csv/virtualenv/bin/python /path/to/your/target-csv/virtualenv/bin/target-csv",
"request": "launch",
"type": "node-terminal"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment