Does the debugging works only in IEx? If so, will it work fine when using iex -S mix phoenix.server?
iex -S mix phoenix.server