june07/NiM

"Open DevTools" button just shows "[object object]"

RaphaelDDL opened this issue · 2 comments

Hi,

Maybe I'm doing something wrong, idk. I use es6 (babel), so my npm script is nodemon --inspect src/Application.js --exec babel-node. It does work, but I have the issue of the ws changing url always, so I installed NiM.

Unfortunately, leaving on auto does nothing. Leaving on manual and clicking on Open DevTools gives me the following:
screen shot 2018-07-12 at 8 26 45 pm

I'm getting the following when pressing Open DevTools:
screen shot 2018-07-12 at 8 24 44 pm

I'm currently using Canary v69
Any ideas?
Thank you!

You want to have 9229 as the port, not 8081.

oh, OH. So it's the WS port the extension needs, not the node server one.
Oh, all right. Dumb me. I did the change, now the DevTools open :)

Thank you, sorry to bother!

ps.: as a suggestion, maybe handle this error with a better message? Like, "websocket not found on the given host/port".