# `mix dala.debug`
[🔗](https://github.com/manhvu/dala_dev/blob/main/lib/mix/tasks/dala.debug.ex#L1)

Interactive debugging tools for remote Elixir nodes.

## Examples

    # Start interactive debug shell
    mix dala.debug

    # Inspect a process
    mix dala.debug --inspect MyApp.Worker

    # Evaluate code on remote node
    mix dala.debug --eval "MyApp.Config.get(:api_key)" --node dala_qa@192.168.1.5

    # Get memory report
    mix dala.debug --memory --node dala_qa@192.168.1.5

    # Get supervision tree
    mix dala.debug --tree --node dala_qa@192.168.1.5

## Options

  * `--inspect` - Process to inspect (module name or PID)
  * `--eval` - Code to evaluate on remote node
  * `--memory` - Show memory report
  * `--tree` - Show supervision tree
  * `--node` - Target node (default: local node)
  * `--trace` - Trace messages to/from a process
  * `--duration` - Trace duration in ms (default: 5000)

---

*Consult [api-reference.md](api-reference.md) for complete listing*
