Add Visual Studio Code debug configuration for bqetl. (#3395)

This commit is contained in:
Sean Rose 2022-12-01 16:42:52 -08:00 коммит произвёл GitHub
Родитель d92a732802
Коммит b7c3e3c183
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
2 изменённых файлов: 21 добавлений и 0 удалений

20
.vscode/launch.json.default поставляемый Normal file
Просмотреть файл

@ -0,0 +1,20 @@
{
"version": "0.2.0",
"configurations": [
{
"name": "bqetl",
"type": "python",
"request": "launch",
"program": "${workspaceFolder}/venv/bin/bqetl",
"args": "${input:bqetl_args}",
"justMyCode": true
}
],
"inputs": [
{
"id": "bqetl_args",
"type": "promptString",
"description": "bqetl args"
}
]
}

Просмотреть файл

@ -57,6 +57,7 @@ venv/bin/pip-sync --pip-args=--no-deps requirements.txt <(echo mozilla-bigquery-
Finally, if you are using Visual Studio Code, you may also wish to use our recommended defaults:
```bash
cp .vscode/settings.json.default .vscode/settings.json
cp .vscode/launch.json.default .vscode/launch.json
```
And you should now be set up to start working in the repo! The easiest way to do this is for many tasks is to use [`bqetl`](https://mozilla.github.io/bigquery-etl/bqetl/). You may also want to read up on [common workflows](https://mozilla.github.io/bigquery-etl/cookbooks/common_workflows/).