emilsoman

emilsoman

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 debugger GUI to debug a running production app by adding breakpoints. Screenshots included. Here’s the link : Elixir Remote Debugging

First 2 of 2 Posts Switch mode

m31271n

m31271n

To supplement this, if you wanna using debugger for a mix release running in remote node, make sure:

  • option :strip_beams is false
  • include :debugger in extra applications

Or, the debugger will not work as you expected.

lukaszsamson

lukaszsamson

ElixirLS Core Team

Support for remote debugging will be added in the next ElixirLS version. See elixir-ls/README.md at master · elixir-lsp/elixir-ls · GitHub

— All posts loaded —

Where Next? Top

Trending in Guides/Tuts Top

Other Trending Topics Top

JesseHerrick
Hey, I’m Jesse and I’m the main contributor behind Dexter, a full-featured, lightning-fast Elixir LSP optimized for large codebases. It s...
New
jimsynz
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
Damirados
Hello everyone. After busy few months I am happy to announce v0.1.0 of Emerge & Solve. They are GUI (Emerge) and State management (S...
New
netoum
Corex is an accessible, unstyled UI component library for Phoenix that integrates Zag.js state machines using Vanilla JavaScript and Live...
New
ausimian
Emily is an Elixir library that runs Nx computations on Apple’s MLX. Install it as the default Nx backend and Nx, defn, Axon, Nx.Serving,...
New
juhalehtonen
There has been a thread to discuss the Stack Overflow Developer Survey on this forum every year since 2018, so here’s yet another one for...
New

We're in Beta

About us Mission Statement