-
Notifications
You must be signed in to change notification settings - Fork 29.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v6.7.0 V8_inspector link does not work on macOS 10.12 Chrome 53 #8846
Comments
/cc @nodejs/v8-inspector |
hm, I'm unable to reproduce on the same OS and Chrome |
I can reproduce the problem. But it works if I run with break on first line: Manually opening the file as suggested with |
Also unable to reproduce. |
@fhinkel I do a reset settings on Google Chrome and now it works both on I think this problem can be closed if @fhinkel confirms no reproduction after reset. |
@JLHwung I got the same problem and It works! Thank you man! |
So sad it happened again 10 min later. So |
I don't realize I can debug v8-inspector front-end until I press command+j accidentally on v8-inspector. It feels like Inception somehow but finally the problem is clear: It seems that v8-inspector can not establish connection to localhost:9229/node due to a SSL protocol problem. @fhinkel settings reset solves my problem at first but after couple of hours it happens again. No idea how to trigger this problem. @Taivas I am more than happy to help you but it seems configuration reset is not a perfect workaround. |
Have you tried running with with |
@fhinkel I tried but got no luck. Still SSL Protocol issue. What does your console on v8-inspector complain on |
CC: @ak239 Any thoughts? |
Seeing the same thing, with the same setup. I downgraded to v6.6.0, since @JLHwung mentioned earlier success with it, but no go. Meanwhile, my home computer (also a Mac on 10.12 + Chrome 53 + node 6.7.0) handles --inspect fine. There's an unknown variable in play here. |
--debug-brk made no difference. But, the suggestion to use Chrome Canary did work. |
Looks like this has something to do with Chrome itself - there is no reason for it to try and use SSL for devtools connection. Canary working might be due to the fact of some fixes on Chrome site or a result of different Chrome profile. Note that there is a chance the problem will "fix itself" when Node switches to latest protocol so Chrome will be able to use the latest devtools. |
Thank you for explanation on debug protocol. 🙏
I just try opening the debugger link (both |
I was able to workaround this issue by using the ip address instead of a dns name. Instead of : Use: |
@ghafran Great appreciation on the workaround. I succeed after replacing |
Inspired by @ghafran, I think this issue is likely of HSTS configuration. It should have nothing to do with For those who have the same issues, please check the following settings
Final Solution: For devs who does not deliberately add HSTS settings explains that it works after Chrome setting reset, but the same issue occurs after couple of hours after you visited your localhost dev website, because Chrome will add I think it can be safely closed after folks confirmed this solution works. |
This issue has been inactive for sufficiently long that it seems like perhaps it should be closed. Feel free to re-open (or leave a comment requesting that it be re-opened) if you disagree. I'm just tidying up and not acting on a super-strong opinion or anything like that. |
Here is a simple forever node daemon
node --inspect index.js
will showHowever, when opening this link on Chrome 53.0.2785.116, the left sidebar is empty. one cannot see any files (index.js) on the panel.
Opening this link on Chrome Canary 55 looks good to me, though.
I use
--inspect
daily and AFAIK Chrome 53 works good onv6.6.0
.The text was updated successfully, but these errors were encountered: