简体   繁体   中英

How to use :observer.start with my app?

I am trying to inspect my app using :observer.start , I tried interactive elixir console:

iex -S mix

of course, this would load all the dependencies and start the app, then I can start the observer using: :observer.start

but I've noticed that I can't browser into the app using the browser, ex: localhost:4000

I can only browse into the app if I started it using: mix phoenix.server

The question is, how can I browse into the app when its started as iex -S mix ?

EDIT

What are all those processes? I just started the app without doing anything? 在此处输入图片说明

I've checked one of them: 在此处输入图片说明 but I don't know what is that process for?

Any idea?

您可以运行以下命令来启动交互式Shell和phoenix服务器。

iex -S mix phoenix.server

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM