Daniel
Daniel

Reputation: 1110

IEx.pry on windows won't run because erlang console closes to soon

I'm trying to debug elixir code in phoenix application using

IEx.pry

but after running this line inside cmder console

iex.bat --werl -S mix phoenix.server

erlang console opens and closes. I don't have enough time to see if there is anything written out. Is there a way to hold erlang console open or to debug elixir code in some other way?

Upvotes: 2

Views: 130

Answers (1)

Onorio Catenacci
Onorio Catenacci

Reputation: 15293

Run the iex.bat --werl -S mix phoenix.server command in a cmd console (as opposed to running it in cmder).

Upvotes: 1

Related Questions