Error debugging on fresh phoenix 1.8 project
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 35/100
Línea de trabajo
Reproduce the warning in a fresh Phoenix 1.8 project using Elixir LS and the debugger, then inspect the Phoenix.CodeReloader integration and the mix.exs listener configuration mentioned in the report. Compare debugger behavior with and without the listener; done means the debugger starts and visiting localhost:4000 produces no warning or error.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Environment
- Elixir version (elixir -v): 1.18.4
- Phoenix version (mix deps): 1.8.0
- Operating system: Linux 6.16.0-5-cachyos
Actual behavior
Starting the debugger with Elixir LS on a fresh phoenix app, when typing localhost:4000, the following appears in the debug console
warning: a Mix listener expected by Phoenix.CodeReloader is missing.
Please add the listener to your mix.exs configuration, like so:
def project do
[
...,
listeners: [Phoenix.CodeReloader]
]
end
(debugger 6.0.2) dbg_debugged.erl:95: :dbg_debugged.reply/1
(debugger 6.0.2) dbg_debugged.erl:89: :dbg_debugged.handle_command/1
(debugger 6.0.2) dbg_debugged.erl:77: :dbg_debugged.msg_loop/2
(mix 1.18.4) lib/mix/sync/lock.ex:112: Mix.Sync.Lock.with_lock/3
(debugger 6.0.2) dbg_debugged.erl:95: :dbg_debugged.reply/1
(debugger 6.0.2) dbg_debugged.erl:89: :dbg_debugged.handle_command/1
(debugger 6.0.2) dbg_debugged.erl:77: :dbg_debugged.msg_loop/2
(stdlib 7.0.2) gen_server.erl:2470: :gen_server.try_handle_call/4
(stdlib 7.0.2) gen_server.erl:2499: :gen_server.handle_msg/3
(stdlib 7.0.2) proc_lib.erl:333: :proc_lib.init_p_do_apply/3
Expected behavior
It should run the debugger without any errors
- Lenguaje dominante
- Elixir
- Estrellas
- 23.2k
- Forks
- 3.2k
- Merge medio
- 23 h 50 min
- PR fusionados (30 d)
- 21
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de phoenixframework/phoenix
-
Connection: close header not sent before closing HTTP 1.1 connection when a controller raises an exceptionPosiblemente ocupada @javiergarea la tomó hace 26 días. Abierto
Dificultad 4/5 3-5 días Aptitud para principiantes 55/100
phoenixframework/phoenix#6859 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
phoenixframework/phoenix#6855 · 3 comentarios ·
Los mantenedores suelen responder en 1 día
-
Dificultad 4/5 3-5 días Aptitud para principiantes 55/100
phoenixframework/phoenix#6853 · 4 comentarios ·
Los mantenedores suelen responder en 1 día
-
LongPoll session tokens are not bound to the mount path or socket handlerPosiblemente ocupada @SteffenDE la tomó hace 71 días. Abierto
Dificultad 4/5 3-5 días Aptitud para principiantes 52/100
phoenixframework/phoenix#6791 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
phoenixframework/phoenix#6785 · 5 comentarios · 2 reacciones ·
Los mantenedores suelen responder en 1 día
Todos los issues de phoenixframework/phoenix
Issues similares
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
ash-project/ash_json_api#467 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
Los mantenedores suelen responder en 1 día
-
Bug: Error-message "Nickname has already been taken" appears only in english for all localizationsAbiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
hexlet-codebattle/codebattle#2370 ·
-
enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Los mantenedores suelen responder en 1 día
-
enhancement good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 90/100
MustacheCase/zanadir#403 ·
Los mantenedores suelen responder en 1 día