A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/phoenixframework/phoenix_live_reload/issues/133 below:

Live reload breaks debugging session in elixirLS debugger · Issue #133 · phoenixframework/phoenix_live_reload · GitHub

I know that this most likely not be planned but there are repeated bugs and support requests related to that issue.

elixir-lsp/elixir-ls#797
elixir-lsp/elixir-ls#798

There are 2 problems when phoenix is run under elixirLS debugger

  1. The code reloader (https://github.com/phoenixframework/phoenix/blob/master/lib/phoenix/code_reloader/server.ex) is purging and reloading modules on the fly with no regard for the ongoing debug session. The reloaded modules are not properly interpreted via erlang debugger.
  2. It is messing with IO interception. Debug Adapter Protocol has strict requirements on stdout IO. All standard IO needs to be sent as JSONRPC protocol messages.

RobertoSchneiders and uzuki-P


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4