Add Visual Studio Code debug configuration for bqetl. (#3395)
This commit is contained in:
Родитель
d92a732802
Коммит
b7c3e3c183
|
@ -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/).
|
||||
|
|
Загрузка…
Ссылка в новой задаче