Star 历史趋势
数据来源: GitHub API · 生成自 Stargazers.cn
README.md

LiveDebugger Tour

An interactive, step-by-step tutorial for LiveDebugger - a real-time debugging tool for Phoenix LiveView. Each tour step is a self-contained LiveView that introduces a LiveDebugger feature with a minimal, hands-on example you can inspect and debug in real time.

https://github.com/user-attachments/assets/8296d9aa-27b3-490b-bdd0-c06de7d6f769

Prerequisites

  • Elixir ~> 1.15
  • Erlang/OTP (compatible with your Elixir version)

Installation

# Clone the repository
git clone https://github.com/software-mansion-labs/live-debugger-tour.git
cd live-debugger-tour

# Install dependencies and set up assets
mix setup

# Start the Phoenix server
mix phx.server

Then visit localhost:4000 in your browser.

What it offers

The tour walks you through LiveDebugger's core features across a series of guided steps:

  1. Start Debugging - Explore the Node Info panel to identify process PIDs, module paths, and jump from the debugger to your code editor.
  2. Inspecting Assigns - Navigate socket assigns state using search, pinning, and history tracking.
  3. Callback Traces - Analyze LiveView lifecycle execution times, filter events, and manage trace memory.
  4. Dead LiveView & Exceptions - Trigger a crash to see how the debugger displays dead process state and identifies successors.
  5. Components Tree - Visualize complex UI hierarchies with multiple LiveComponents and the highlight feature.
  6. Async Jobs - Observe assign_async behavior and background task state transitions.
  7. Streams - See how Phoenix Streams are handled and efficiently managed by the debugger.
  8. Global Callback Traces - Analyze cross-node communication between child components and parent views.
  9. Analyzing Diffs - Inspect the actual data payloads sent over the wire to understand Phoenix's UI update optimizations.
  10. Resources - Monitor real-time performance graphs and observe how interactions affect system resource usage.
  11. Active LiveViews - See all currently running LiveView processes across the application.
  12. Settings - Explore customization options for the debugger UI and connection parameters.

Learn more

关于 About

An interactive, step-by-step tutorial for LiveDebugger
debuggerdev-toolselixirguidephoenix-liveviewtutorial

语言 Languages

Elixir94.2%
CSS2.6%
HTML1.6%
JavaScript1.6%

提交活跃度 Commit Activity

代码提交热力图
过去 52 周的开发活跃度
28
Total Commits
峰值: 12次/周
Less
More

核心贡献者 Contributors