Versions in this module Expand all Collapse all v1 v1.6.2 Jun 23, 2026 v1.6.1 Mar 5, 2026 Changes in this version + func HasRunDebugFlag() bool + func Setup(opts ...DebugOption) ([]app.SettingOption, error) + type DebugOption func(*DebugFactory) + func WithDryRun() DebugOption v1.6.0 Mar 3, 2026 Changes in this version + var StaticFS embed.FS + type Collector struct + func NewCollector() *Collector + func (c *Collector) AddEdge(edge DependencyEdge) + func (c *Collector) GetComponents() []componentInfo + func (c *Collector) GetEvents() []DebugEvent + func (c *Collector) GetGraph() GraphData + func (c *Collector) RecordEvent(event DebugEvent) + func (c *Collector) RegisterComponent(name, typeName string) + func (c *Collector) SetState(name string, state ComponentState) + type ComponentState string + const StateCreating + const StateInitializing + const StatePopulating + const StateReady + const StateRegistered + const StateScanned + type Controller struct + func NewController() *Controller + func (c *Controller) Close() + func (c *Controller) GetBreakpoints() map[string]bool + func (c *Controller) GetMode() StepMode + func (c *Controller) Next() + func (c *Controller) SetBreakpoint(component string, enabled bool) + func (c *Controller) SetMode(mode StepMode) + func (c *Controller) ShouldPause(componentName string) bool + func (c *Controller) WaitForNext() + type DebugEvent struct + Action string + ComponentName string + Details map[string]any + ID int + Phase string + ProcessorName string + Timestamp time.Time + type DebugFactory struct + func NewDebugFactory() *DebugFactory + func (df *DebugFactory) Close() + func (df *DebugFactory) GetComponentByName(name string) (any, error) + func (df *DebugFactory) GetComponents(opts ...container.Option) ([]any, error) + func (df *DebugFactory) GetConfigure() configure.Configure + func (df *DebugFactory) GetDefinitionRegistry() container.DefinitionRegistry + func (df *DebugFactory) GetDefinitionRegistryPostProcessors() []container.DefinitionRegistryPostProcessor + func (df *DebugFactory) GetRegisteredComponents() map[string]any + func (df *DebugFactory) PrepareComponents() error + func (df *DebugFactory) Refresh() error + func (df *DebugFactory) SetConfigure(c configure.Configure) + func (df *DebugFactory) SetContext(ctx context.Context) + func (df *DebugFactory) SetRegistry(r container.SingletonRegistry) + func (df *DebugFactory) StartServer() (string, error) + type DependencyEdge struct + DepType string + FieldName string + From string + To string + type GraphData struct + Edges []DependencyEdge + Nodes []GraphNode + type GraphNode struct + Name string + State ComponentState + Type string + type Server struct + func NewServer(controller *Controller, collector *Collector, staticFS fs.FS) *Server + func (s *Server) Addr() string + func (s *Server) BroadcastEvent(event DebugEvent) + func (s *Server) Start() (string, error) + type StepMode int + const ModeRun + const ModeStepAll + const ModeStepWatched