Lee-W commented on code in PR #34868:
URL: https://github.com/apache/airflow/pull/34868#discussion_r1356475432


##########
CONTRIBUTORS_QUICK_START_VSCODE.rst:
##########
@@ -92,6 +92,12 @@ Setting up debugging
 
   - Change ``"program"`` to point to an example dag and add ``"env"`` and 
``"python"`` fields to the new Python configuration
 
+    ``"program": "${workspaceFolder}/files/dags/example_bash_operator.py"``
+
+    ``"env": {"PYTHONUNBUFFERED": "1", "AIRFLOW__CORE__EXECUTOR": 
"DebugExecutor"}``
+
+    ``"python": "${env:HOME}/.pyenv/versions/airflow/bin/python"``
+

Review Comment:
   ```suggestion
   .. code-block:: json
   
      {
          "configurations": [
              "program": 
"${workspaceFolder}/files/dags/example_bash_operator.py",
              "env": {
                  "PYTHONUNBUFFERED": "1",
                  "AIRFLOW__CORE__EXECUTOR": "DebugExecutor"
               },
               "python": "${env:HOME}/.pyenv/versions/airflow/bin/python"
          ]
      }
   
   ```
   
   not sure whether it's better this way, but I might try something like this



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@airflow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to