cerebral / cerebral-debugger

Debugger for Cerebral
http://cerebraljs.com/docs/introduction/debugger.html
MIT License
33 stars 16 forks source link

Not working #40

Closed epszaw closed 6 years ago

epszaw commented 6 years ago

Hello! I'm using stand-alone application. When I'm launching it and pass hostname and port, I don't know, what I must do next. In my store configuration I define devtools like this:

devtools: NODE_ENV === 'dev' && DevTools({
    host: 'localhost:8585',
    reconnect: true
  }),

devtools passed to controller, but it throws errors, like Can't connect to localhost:8585, try to launch debugger on the same host and port.

Whats wrong?

epszaw commented 6 years ago
Debugger application is not running on selected port... will reconnect automatically behind the scenes

The warning message.

henri-hulski commented 6 years ago

If host and port in controller and debugger are the same it should just work.

epszaw commented 6 years ago

But it's not! :disappointed:

epszaw commented 6 years ago

image

henri-hulski commented 6 years ago

I don't think it's an issue of the debugger as he works in most cases. So maybe it would be easier to track that down in discord where is a really helpful community. We have to know what system you use. Maybe localhost doesn't work. It's quite strange.

corlaez commented 6 years ago

I can't connect either: using 8585 or 8686 or localhost or my net ip or 127... I am on ubuntu, chrome.

Note: I am using the chrome devtools cerebral 2. Is that deprecated?

christianalfoni commented 6 years ago

Hi there! Could you guys try using 127.0.0.1:8585 instead of localhost?

christianalfoni commented 6 years ago

@lamartire Could you extend your window? Cause there is an ADD button down there, do not think you see it? :)

epszaw commented 6 years ago

@christianalfoni oh, mate, now I'm on other os and can't reproduce it. I used linux mint. On fedora this problem not actual. I think in last version problem was resolved for mint too.