# \#debugging

**URL:** https://forum.elixirforum.com/tag/debugging/15.md

[Latest](https://forum.elixirforum.com/latest.md) · [Categories](https://forum.elixirforum.com/categories.md) · [Tags](https://forum.elixirforum.com/tags.md)

---

## [ otp\_debug\_mcp 0.15 - a flight recorder, read-only mode, and conclusions instead of data](https://forum.elixirforum.com/t/otp-debug-mcp-0-15-a-flight-recorder-read-only-mode-and-conclusions-instead-of-data/77514)

<div class="topic-metadata">

**Author:** [@ayarodionov](https://forum.elixirforum.com/u/ayarodionov)\
**Replies:** 0\
**Last updated:** [November 25, 2026, 12:45am UTC](https://forum.elixirforum.com/t/otp-debug-mcp-0-15-a-flight-recorder-read-only-mode-and-conclusions-instead-of-data/77514 "2026-11-25T00:45:44Z")

</div>

otp\_debug\_mcp is an MCP server that lets an AI agent (Claude Code, Cursor, Copilot, …) debug a running Erlang/Elixir node. It attaches as a hidden node, so the node needs no changes. What’s new in 0.14 and 0.15: Concl…

---

## [otp\_debug\_mcp - let an AI agent debug your live BEAM nodes, safely](https://forum.elixirforum.com/t/otp-debug-mcp-let-an-ai-agent-debug-your-live-beam-nodes-safely/77138)

<div class="topic-metadata">

**Author:** [@ayarodionov](https://forum.elixirforum.com/u/ayarodionov)\
**Replies:** 2\
**Last updated:** [November 19, 2026, 11:35pm UTC](https://forum.elixirforum.com/t/otp-debug-mcp-let-an-ai-agent-debug-your-live-beam-nodes-safely/77138 "2026-11-19T23:35:30Z")

</div>

otp\_debug\_mcp: let an AI agent debug a live BEAM node (MCP server) AI agents write more and more of our code, and many bugs only show up in the running system. On the BEAM that system can be inspected while it runs: dis…

---

## [Calculating P&L When a Trade Spans Multiple Sessions](https://forum.elixirforum.com/t/calculating-p-l-when-a-trade-spans-multiple-sessions/76271)

<div class="topic-metadata">

**Author:** [@ryanrborn](https://forum.elixirforum.com/u/ryanrborn)\
**Replies:** 0\
**Last updated:** [August 6, 2026, 3:26pm UTC](https://forum.elixirforum.com/t/calculating-p-l-when-a-trade-spans-multiple-sessions/76271 "2026-08-06T15:26:00Z")

</div>

A long-running process in my system owns a unit of work and everything it creates is scoped to that process’s id. When the process rotates on a schedule and a late event arrives from an external system, the event gets f…

---

## [LiveDebugger - tool for debugging LiveView apps](https://forum.elixirforum.com/t/livedebugger-tool-for-debugging-liveview-apps/69668)

<div class="topic-metadata">

**Author:** [@kraleppa](https://forum.elixirforum.com/u/kraleppa)\
**Replies:** 15\
**Last updated:** [April 28, 2026, 2:11pm UTC](https://forum.elixirforum.com/t/livedebugger-tool-for-debugging-liveview-apps/69668 "2026-04-28T14:11:42Z")

</div>

I’m happy to announce LiveDebugger v0.1.0! :mega: LiveDebugger is a browser-based tool for debugging LiveView applications, designed to enhance your development experience. It gives you: :deciduous\_tree: A detailed vi…

---

## [Thinking Elixir 301 - Testing, Debugging, and Departures](https://forum.elixirforum.com/t/thinking-elixir-301-testing-debugging-and-departures/75157)

<div class="topic-metadata">

**Author:** [@brainlid](https://forum.elixirforum.com/u/brainlid)\
**Replies:** 0\
**Last updated:** [April 28, 2026, 12:14pm UTC](https://forum.elixirforum.com/t/thinking-elixir-301-testing-debugging-and-departures/75157 "2026-04-28T12:14:31Z")

</div>

Episode 301 of Thinking Elixir. News includes Phoenix LiveDebugger hitting v1.0 with an interactive tour to go along with it, LiveStash v0.2.0 shipping with API improvements and a tease of Redis & Mnesia adapters on the …

---

## [Thinking Elixir 287 - From RAGs to Rich Workflows](https://forum.elixirforum.com/t/thinking-elixir-287-from-rags-to-rich-workflows/73954)

<div class="topic-metadata">

**Author:** [@brainlid](https://forum.elixirforum.com/u/brainlid)\
**Replies:** 0\
**Last updated:** [January 13, 2026, 1:41pm UTC](https://forum.elixirforum.com/t/thinking-elixir-287-from-rags-to-rich-workflows/73954 "2026-01-13T13:41:58Z")

</div>

Episode 287 of Thinking Elixir. News includes Arcana, a new RAG library for Phoenix that adds vector search and AI Q&A using Postgres and pgvector, a JavaScript embedding library called MquickjsEx that brings MicroQuickJ…

---

## ['Could not connect to'-Error when using \`remote\` to connect to running elixir release](https://forum.elixirforum.com/t/could-not-connect-to-error-when-using-remote-to-connect-to-running-elixir-release/73570)

<div class="topic-metadata">

**Author:** [@maqnius](https://forum.elixirforum.com/u/maqnius)\
**Replies:** 3\
**Last updated:** [December 8, 2025, 2:47pm UTC](https://forum.elixirforum.com/t/could-not-connect-to-error-when-using-remote-to-connect-to-running-elixir-release/73570 "2025-12-08T14:47:52Z")

</div>

Hey there, after managing to get my little side project running and deployed I wanted to try out BEAM’s inspection features. But somehow BEAM does not find the runnig instance on the host $ ./bin/tilemirror remote Cou…

---

## [Trouble Adding Gettext Support to Elixir Library](https://forum.elixirforum.com/t/trouble-adding-gettext-support-to-elixir-library/73500)

<div class="topic-metadata">

**Author:** [@tugayac](https://forum.elixirforum.com/u/tugayac)\
**Replies:** 4\
**Last updated:** [December 3, 2025, 2:41am UTC](https://forum.elixirforum.com/t/trouble-adding-gettext-support-to-elixir-library/73500 "2025-12-03T02:41:31Z")

</div>

Hey folks :waving\_hand:, I’m one of the maintainers of the Lotus Web library and we had a request to add i18n support for the library. The requester was nice enough to help with a PR here, but I’m having issues getting …

---

## [Thinking Elixir Podcast 260: Cheaper testing with AI?](https://forum.elixirforum.com/t/thinking-elixir-podcast-260-cheaper-testing-with-ai/71613)

<div class="topic-metadata">

**Author:** [@brainlid](https://forum.elixirforum.com/u/brainlid)\
**Replies:** 0\
**Last updated:** [July 8, 2025, 12:22pm UTC](https://forum.elixirforum.com/t/thinking-elixir-podcast-260-cheaper-testing-with-ai/71613 "2025-07-08T12:22:34Z")

</div>

Thinking Elixir 260: Cheaper testing with AI? Episode 260 of Thinking Elixir. News includes LiveDebugger v0.3.0 with enhanced debugging capabilities for Phoenix LiveView including redirect following and dead process sta…

---

## [Ash Framework Book - how to debug the actions](https://forum.elixirforum.com/t/ash-framework-book-how-to-debug-the-actions/70206)

<div class="topic-metadata">

**Author:** [@Raathmd](https://forum.elixirforum.com/u/Raathmd)\
**Replies:** 20\
**Last updated:** [April 19, 2025, 6:16pm UTC](https://forum.elixirforum.com/t/ash-framework-book-how-to-debug-the-actions/70206 "2025-04-19T18:16:13Z")

</div>

The step where previous\_names are added is now preventing the save of an artist. The artist table has the migrated field and the change function is in a separate module. I see no messages in the terminal about why the …

---

## [Thinking Elixir Podcast 249: LiveDebugger: Peering Inside a LiveView](https://forum.elixirforum.com/t/thinking-elixir-podcast-249-livedebugger-peering-inside-a-liveview/70482)

<div class="topic-metadata">

**Author:** [@brainlid](https://forum.elixirforum.com/u/brainlid)\
**Replies:** 0\
**Last updated:** [April 15, 2025, 12:37pm UTC](https://forum.elixirforum.com/t/thinking-elixir-podcast-249-livedebugger-peering-inside-a-liveview/70482 "2025-04-15T12:37:35Z")

</div>

Thinking Elixir 249: LiveDebugger: Peering Inside a LiveView Episode 249 of Thinking Elixir.News includes Phoenix 1.8.0-rc release with DaisyUI styled Tailwind components and magic link authentication, a new design patt…

---

## [Podcast: Thinking Elixir 242 - Magic Links and Sudo Mode](https://forum.elixirforum.com/t/podcast-thinking-elixir-242-magic-links-and-sudo-mode/69611)

<div class="topic-metadata">

**Author:** [@brainlid](https://forum.elixirforum.com/u/brainlid)\
**Replies:** 0\
**Last updated:** [February 25, 2025, 1:36pm UTC](https://forum.elixirforum.com/t/podcast-thinking-elixir-242-magic-links-and-sudo-mode/69611 "2025-02-25T13:36:53Z")

</div>

Episode 242 of Thinking Elixir. News includes exciting updates to Phoenix gen\_auth with magic links and sudo mode security features, a comprehensive guide on Elixir and Phoenix security best practices from Paraxial.io, s…

---

## [Podcast: Thinking Elixir 241 - A LiveView Debugger and Gigalixir](https://forum.elixirforum.com/t/podcast-thinking-elixir-241-a-liveview-debugger-and-gigalixir/69458)

<div class="topic-metadata">

**Author:** [@brainlid](https://forum.elixirforum.com/u/brainlid)\
**Replies:** 0\
**Last updated:** [February 18, 2025, 12:52pm UTC](https://forum.elixirforum.com/t/podcast-thinking-elixir-241-a-liveview-debugger-and-gigalixir/69458 "2025-02-18T12:52:35Z")

</div>

News includes the release of LiveDebugger, an exciting new browser-based debugging tool for Phoenix LiveView applications and the announcement of Artifix for creating private Hex registries on S3 and CloudFront. We are a…

---

## [Compute Module 5 supported?](https://forum.elixirforum.com/t/compute-module-5-supported/68515)

<div class="topic-metadata">

**Author:** [@devployment](https://forum.elixirforum.com/u/devployment)\
**Replies:** 12\
**Last updated:** [January 22, 2025, 6:03pm UTC](https://forum.elixirforum.com/t/compute-module-5-supported/68515 "2025-01-22T18:03:09Z")

</div>

Is the Compute Module 5 supported? Currently playing around with a CM5 and IO Board. Tried a new project with MIX\_TARGET=rpi5 mix firmware.burn. In the end I cannot connect to the rpi. No HDMI output no nothing. All I ca…

---

## [NIF like a champ: VS Code Debugging C/C++ NIFs](https://forum.elixirforum.com/t/nif-like-a-champ-vs-code-debugging-c-c-nifs/67807)

<div class="topic-metadata">

**Author:** [@FatigueDev](https://forum.elixirforum.com/u/FatigueDev)\
**Replies:** 3\
**Last updated:** [December 2, 2024, 7:27pm UTC](https://forum.elixirforum.com/t/nif-like-a-champ-vs-code-debugging-c-c-nifs/67807 "2024-12-02T19:27:18Z")

</div>

Preface ~ NIFs are rough as heck to debug properly. So you’ve created a NIF with a decent amount of complexity and have resorted to using std::cout \<\< "Some value is: " \<\< value \<\< std::endl;, only to get a Segfault beca…

---

## [Make an unhandled exception more noisy](https://forum.elixirforum.com/t/make-an-unhandled-exception-more-noisy/20095)

<div class="topic-metadata">

**Author:** [@easco](https://forum.elixirforum.com/u/easco)\
**Replies:** 2\
**Last updated:** [October 17, 2024, 1:18pm UTC](https://forum.elixirforum.com/t/make-an-unhandled-exception-more-noisy/20095 "2024-10-17T13:18:07Z")

</div>

I have a process, using gen\_statem, which was crashing (and being restarted by a supervisor) because of an unhandled exception. When I first encountered the issue while debugging it was clear that the process was restar…

---

## [Error while debugging Phoenix app. Ubuntu 24 + IntelliJ Ultimate](https://forum.elixirforum.com/t/error-while-debugging-phoenix-app-ubuntu-24-intellij-ultimate/66239)

<div class="topic-metadata">

**Author:** [@fahani](https://forum.elixirforum.com/u/fahani)\
**Replies:** 1\
**Last updated:** [September 23, 2024, 3:24am UTC](https://forum.elixirforum.com/t/error-while-debugging-phoenix-app-ubuntu-24-intellij-ultimate/66239 "2024-09-23T03:24:34Z")

</div>

Hello! I am a PHP and Go developer. This weekend I wanted to give it a try to Elixir & Phoenix but I run into some debugging issues that I am not able to resolve. These are the versions of my current OS and tools: Ub…

---

## [2024/09/11 - Elixir Meetup - Poznań,Poland & Online](https://forum.elixirforum.com/t/2024-09-11-elixir-meetup-poznan-poland-online/65965)

<div class="topic-metadata">

**Author:** [@CuriousMikolaj](https://forum.elixirforum.com/u/CuriousMikolaj)\
**Replies:** 0\
**Last updated:** [September 9, 2024, 3:05pm UTC](https://forum.elixirforum.com/t/2024-09-11-elixir-meetup-poznan-poland-online/65965 "2024-09-09T15:05:24Z")

</div>

In Curiosum we do have Elixir Meetups quite consistently for 2 years now. We meet up online every month and invite specialists who are willing to share their knowledge of Elixir and its possibilities. If you are interest…

---

## [Elixir Remote Debugging](https://forum.elixirforum.com/t/elixir-remote-debugging/11708)

<div class="topic-metadata">

**Author:** [@emilsoman](https://forum.elixirforum.com/u/emilsoman)\
**Replies:** 2\
**Last updated:** [July 11, 2024, 8:23pm UTC](https://forum.elixirforum.com/t/elixir-remote-debugging/11708 "2024-07-11T20:23:17Z")

</div>

Hello, While answering a StackOverflow question on how to debug an elixir node running remotely, I thought it may be helpful to write a tutorial on how to connect to a remote node from your local node and use the debugg…

---

## [To pry or not to pry](https://forum.elixirforum.com/t/to-pry-or-not-to-pry/61255)

<div class="topic-metadata">

**Author:** [@binarypaladin](https://forum.elixirforum.com/u/binarypaladin)\
**Replies:** 5\
**Last updated:** [January 31, 2024, 6:43pm UTC](https://forum.elixirforum.com/t/to-pry-or-not-to-pry/61255 "2024-01-31T18:43:30Z")

</div>

When I am not touching front-end code, I pretty much live in the testing environment when doing development. I almost never drop into to dev at all. I find that since dev requires setting up state, why not just have a te…

---

## [How can I inspect Phoenix.LiveView.Rendered changes?](https://forum.elixirforum.com/t/how-can-i-inspect-phoenix-liveview-rendered-changes/60997)

<div class="topic-metadata">

**Author:** [@PJUllrich](https://forum.elixirforum.com/u/PJUllrich)\
**Replies:** 3\
**Last updated:** [January 15, 2024, 5:00pm UTC](https://forum.elixirforum.com/t/how-can-i-inspect-phoenix-liveview-rendered-changes/60997 "2024-01-15T17:00:08Z")

</div>

I’m currently working on a presentation about Phoenix LiveView and would love to show how LiveView tracks changes. @chrismccord has a very nice slide about that in his 2019 keynote. I tried to replicate it, but can’t fin…

---

## [Logger - setting config :logger, level: :debug in prod env?](https://forum.elixirforum.com/t/logger-setting-config-logger-level-debug-in-prod-env/38406)

<div class="topic-metadata">

**Author:** [@kelvinst](https://forum.elixirforum.com/u/kelvinst)\
**Replies:** 6\
**Last updated:** [January 14, 2024, 4:14pm UTC](https://forum.elixirforum.com/t/logger-setting-config-logger-level-debug-in-prod-env/38406 "2024-01-14T16:14:04Z")

</div>

Hey guys! Here is something I’m thinking lately: why not setting config :logger, level: :debug in prod env? The point would be to have more information about errors that happened and are hard to repeat, without having t…

---

## [Phoenix equivalent of Rails config.action\_view.annotate\_template\_file\_names?](https://forum.elixirforum.com/t/phoenix-equivalent-of-rails-config-action-view-annotate-template-file-names/54845)

<div class="topic-metadata">

**Author:** [@siros123](https://forum.elixirforum.com/u/siros123)\
**Replies:** 1\
**Last updated:** [January 12, 2024, 1:41am UTC](https://forum.elixirforum.com/t/phoenix-equivalent-of-rails-config-action-view-annotate-template-file-names/54845 "2024-01-12T01:41:15Z")

</div>

Hello, I am still learning the basics of Phoenix so I apologize if this question has an obvious answer that I couldn’t find through Google yet. With the welcome proliferation of components, it can get difficult to pin-p…

---

## [How can you debug an ssh connection?](https://forum.elixirforum.com/t/how-can-you-debug-an-ssh-connection/60748)

<div class="topic-metadata">

**Author:** [@justincy](https://forum.elixirforum.com/u/justincy)\
**Replies:** 1\
**Last updated:** [January 3, 2024, 5:29pm UTC](https://forum.elixirforum.com/t/how-can-you-debug-an-ssh-connection/60748 "2024-01-03T17:29:36Z")

</div>

There isn’t public documentation for this but erlang actually has a ssh\_dbg module that can be used to enable verbose ssh debug logging. The most simple usage is to replace :ssh.start() with :ssh\_dbg.start() and then al…

---

## [Dbg() in a \`with\` sequence?](https://forum.elixirforum.com/t/dbg-in-a-with-sequence/60594)

<div class="topic-metadata">

**Author:** [@dogweather](https://forum.elixirforum.com/u/dogweather)\
**Replies:** 6\
**Last updated:** [December 27, 2023, 12:37am UTC](https://forum.elixirforum.com/t/dbg-in-a-with-sequence/60594 "2023-12-27T00:37:18Z")

</div>

dbg() is one of my favorite Elixir features: placing it somewhere in a pipe of function calls outputs all the intermediate results. It’s great for debugging parsing code. Like this: meta\_date = document …

---

## [Debugging Ecto connections to remote Postgres servers in Mix tasks](https://forum.elixirforum.com/t/debugging-ecto-connections-to-remote-postgres-servers-in-mix-tasks/57319)

<div class="topic-metadata">

**Author:** [@akraut](https://forum.elixirforum.com/u/akraut)\
**Replies:** 3\
**Last updated:** [December 13, 2023, 1:23am UTC](https://forum.elixirforum.com/t/debugging-ecto-connections-to-remote-postgres-servers-in-mix-tasks/57319 "2023-12-13T01:23:27Z")

</div>

Hey folks, I’m trying to use Ecto with Neon’s hosted Postgres service. Notably, this necessitates the use of SNI to connect to the right server. My config.exs looks like this: import Config config :friends, Friends.Re…

---

## [GenServer #PID\<0.7281.0\> terminating tcp\_closed error messages](https://forum.elixirforum.com/t/genserver-pid-0-7281-0-terminating-tcp-closed-error-messages/57879)

<div class="topic-metadata">

**Author:** [@user20230119](https://forum.elixirforum.com/u/user20230119)\
**Replies:** 18\
**Last updated:** [August 31, 2023, 2:08pm UTC](https://forum.elixirforum.com/t/genserver-pid-0-7281-0-terminating-tcp-closed-error-messages/57879 "2023-08-31T14:08:15Z")

</div>

Phoenix app in a Docker container is filling log with this in production on an Azure Web App. Another post suggested hackney and httpoison is causing it. How can I find the cause of the errors? I can ssh to the contai…

---

## [Rexbug - Elixir wrapper for :redbug tracing debugger](https://forum.elixirforum.com/t/rexbug-elixir-wrapper-for-redbug-tracing-debugger/12612)

<div class="topic-metadata">

**Author:** [@nietaki](https://forum.elixirforum.com/u/nietaki)\
**Replies:** 5\
**Last updated:** [August 27, 2023, 2:25pm UTC](https://forum.elixirforum.com/t/rexbug-elixir-wrapper-for-redbug-tracing-debugger/12612 "2023-08-27T14:25:28Z")

</div>

Rexbug is the Elixir wrapper for the :redbug Erlang tracing debugger. Redbug has been around forever and it has some nice features (it is production safe, simple and pretty powerful), but it was a bit of a pain to use fr…

---

## [6 Code BEAM Europe Trainings (Berlin, Germany + 1 virtual)](https://forum.elixirforum.com/t/6-code-beam-europe-trainings-berlin-germany-1-virtual/57394)

<div class="topic-metadata">

**Author:** [@CodeSync](https://forum.elixirforum.com/u/CodeSync)\
**Replies:** 0\
**Last updated:** [August 2, 2023, 10:13am UTC](https://forum.elixirforum.com/t/6-code-beam-europe-trainings-berlin-germany-1-virtual/57394 "2023-08-02T10:13:04Z")

</div>

6 trainings with experts during Code BEAM Europe 2023 (5 in Berlin, 1 virtual) Before the conference and all the great talks, we bring to you training sessions with experts from whom you can learn about: Applying Elixi…

---

## [Iex helpers in VS Code Elixir-LS](https://forum.elixirforum.com/t/iex-helpers-in-vs-code-elixir-ls/57262)

<div class="topic-metadata">

**Author:** [@pertsevds](https://forum.elixirforum.com/u/pertsevds)\
**Replies:** 4\
**Last updated:** [July 28, 2023, 8:22am UTC](https://forum.elixirforum.com/t/iex-helpers-in-vs-code-elixir-ls/57262 "2023-07-28T08:22:22Z")

</div>

How can I use Iex helpers in VS Code Elixir-LS without typing full module name every time. I want to use a simple pid("0.352.0"). But right now it does not work: import IEx.Helpers pid("0.352.0") \>error: undefined fun…

[Next page](https://forum.elixirforum.com/tag/debugging/15.md?match_all_tags=true&page=1&tags%5B%5D=debugging)
