Skip to content

Considering debug mode for step-by-step DAG execution - what do you think? #1119

@yottahmd

Description

@yottahmd

This is a proposal for adding debug capabilities to Dagu. Before we build this, we'd love to hear:

  • Would this solve your debugging pain points?
  • Which features would you use most?
  • What's missing from this proposal?

Please feel free to share your thoughts in the comments!

Problem

When DAGs fail, developers only have logs. They need to pause execution and inspect what's happening in real-time.

Solution

Add debugging capabilities: breakpoints, step-through execution, and variable inspection.

Execution Control:

  • Set breakpoints on steps
  • Pause and resume execution
  • Execute one step at a time

State Inspection:

  • View all variables and their values
  • Inspect step outputs

Roadmap (draft)

Ph1

  • Pause/resume at named steps
  • Step-through execution
  • CLI support

Ph2

  • Variable watch lists
  • View current variables
  • Web UI debugger

Ph3

  • Modify variables during debug

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions