Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AIRFLOW-XXXX] Clear debug docs #7104

Merged

Conversation

potiuk
Copy link
Member

@potiuk potiuk commented Jan 8, 2020


Issue link: Document only change, no JIRA issue

  • Description above provides context of the change
  • Commit message/PR title starts with [AIRFLOW-NNNN]. AIRFLOW-NNNN = JIRA ID*
  • Unit tests coverage for changes (not needed for documentation changes)
  • Commits follow "How to write a good git commit message"
  • Relevant documentation is updated including usage instructions.
  • I will engage committers as explained in Contribution Workflow Example.

* For document-only changes commit message can start with [AIRFLOW-XXXX].


In case of fundamental code change, Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in UPDATING.md.
Read the Pull Request Guidelines for more information.

@potiuk
Copy link
Member Author

potiuk commented Jan 8, 2020

@nuclearpinguin @ashb @kaxil @mik-laj @xinbinhuang - What do you think about adding a bit more documentation on console debugging?

With Python 3.7, pudb, web-pdb it's so much nicer and easier https://hackernoon.com/python-3-7s-new-builtin-breakpoint-a-quick-tour-4f1aebc444c

@mik-laj
Copy link
Member

mik-laj commented Jan 8, 2020

I think it's worth describing the --post_mortem parameter also. For now, I want to add support for the other debuggers, but...unfortunately, I do not have time to write a guide describing in detail the use.
#7105

usage: airflow tasks test [-h] [-sd SUBDIR] [-dr] [-tp TASK_PARAMS] [-pm]
                          dag_id task_id execution_date
[...]
  -pm, --post_mortem    Open debugger on uncaught exception

@mik-laj mik-laj merged commit c5e426c into apache:master Jan 8, 2020
potiuk added a commit that referenced this pull request Jan 21, 2020
kaxil pushed a commit that referenced this pull request Jan 22, 2020
kaxil pushed a commit that referenced this pull request Jan 23, 2020
potiuk added a commit that referenced this pull request Jan 26, 2020
kaxil pushed a commit that referenced this pull request Jan 26, 2020
galuszkak pushed a commit to FlyrInc/apache-airflow that referenced this pull request Mar 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants