Debugging Broken DAGs
If you want to compile and see any syntax error, you can also try python your_dag.py
Usually I used the command airflow list_dags
which print the full stacktrace for python error found in dags.
That will work with almost any airflow command as airflow parse dags folder each time you use a airflow CLI command.