--- tags: - engine - tooling --- # Debug and Tooling ## ImGui layer Debug only; the game UI is built separately on `Renderer2D`. Subsystems register panels: - Entity inspector (components per entity) - Simulation controls: pause, single-step, speed - Script console and script error list (see [[Scripting]]) - Asset list with hot-reload status (see [[Assets]]) - Frame timings and draw and instance counts (see [[Rendering]]) - RNG stream states (see [[Randomness]]) ## Logging spdlog with per-subsystem loggers (`engine`, `render`, `script`, `game`) and levels adjustable at runtime. ## Profiling Scoped CPU timers feed the timings panel. Tracy can be added later if needed. ## Headless and smoke runs - `--frames N` renders N frames and exits (already supported). - Later: a headless mode with no window that runs the simulation only, for `siege_tests`.