-
Notifications
You must be signed in to change notification settings - Fork 24.4k
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
[Chrome Debugging] Can't debug with Chrome devtool #297
Comments
Do you have Chrome open? |
Sure I have, I have Chrome open, I even have the devtool open. |
CMD+D |
Anyone ran into this error after pressing Command+D?
|
I had this same issue "Do you have chrome open?" I found that it worked by moving my project to a file path which did not have a space in it. |
I got the same issue. Then I look into the source code of that applescript, found it just open the chrome and jump to So you can remove that code and do it by yourself. |
I got the issue, too:
osx 10.10.2 |
I changed "Google Chrome" to "Google Chrome Canary" in the applescript, now it works at least sporadic. |
I guess we should provide a better error recovery suggestion. Would the instruction to open the link to the UI be helpful? |
btw, instead of |
Sometimes I get this error:
|
It does work with the following steps,
|
@kkganesan I did make it work following your instructions, thanks a lot! |
just as @kkganesan you say ,but the node console not find output "Launching Dev Tools..." |
I am also experiencing this issue, when I have a space in my path. Just a quick thought: would this be fixable by escaping the path at react-native/packager/packager.js Line 171 in 862d9fb
Also, why is this issue closed? The workaround by @kkganesan definitely works for me (thanks!), however it is a workaround not a fix / solution and not a sufficient reason to close this issue. |
UPDATE: The tutorial and initial tab opened by React says to check off the "Pause on Caught Exceptions" - this was taking me to some line inside of jquery and not to the I'm still getting this red screen while doing the tutorial - trying to refresh to see my changes: @kkganesan instructions don't seem to be working for me at the moment. I'm running through the Egghead "React Native: Up and Running" tutorial. When I run the project, it fires up the simulator and I can enable Live Reload and make changes to the JS file that is provided and I can see my changes work. Great. Following the tutorial, when I put |
why is this issue closed? i have the same problem i get "Runtime is not ready. Do you have Chrome open?" |
@mydearxym: the author closed it, let me reopen it since it is still an issue |
@mydearxym can you paste logs from Xcode and packager? |
@jessepollak - double check your xcode logs. How did you set up your project? with |
@frantic logs are clean - it just is showing the app starting every time I try to enable Chrome Debugging. I set it up with Cocoapods in an existing app. /cc @tadeuzagallo |
@jessepollak - we used to have a warning but now it's gone :( Basically you need to link this subspec |
@frantic awesome, linked and getting closer. Now I'm getting a permission denied error on the file inside. I actually saw this with the |
Hmm, maybe Cocoapods doesn't preserve file attributes? cc @a2 |
@frantic CocoaPods does a git clone so it should preserve file attributes. |
Summary: Hi! I have the same problem as described here facebook#297 It could occurs after restarting `packager.sh` or `debuger-ui` page. I found simple solution that works for me, but I am not 100% sure it will works for any user with this problem. How could this be tested automatically? Closes facebook#1101 Github Author: Evgen Filatov <evgen.filatov@gmail.com> Test Plan: Imported from GitHub, without a `Test Plan:` line.
@mydearxym I changed it back from "Chrome" to "Google Chrome" and it fixed my problem. Go figure. |
@jessepollak - all good now? can we close this? |
👍 |
Thanks 😄 |
thanks! |
I'm getting this after updating to 0.17-beta from 0.12. I also went through the app submission process. Opening up |
I'm getting the redbox "Runtime not ready for debugging" while testing on real device. It's all fine in simulator. I see on RN's doc that I should update Thanks for advice, and also RN's doc can use updating too perhaps regarding |
when i command + d and then press the "debug js remotely", the terminal show "Launching Dev Tools..." ,and i cant touch any component of my app |
@kkganesan can you help me about the details that resolve the question? |
Summary: Hi! I have the same problem as described here facebook/react-native#297 It could occurs after restarting `packager.sh` or `debuger-ui` page. I found simple solution that works for me, but I am not 100% sure it will works for any user with this problem. How could this be tested automatically? Closes facebook/react-native#1101 Github Author: Evgen Filatov <evgen.filatov@gmail.com> Test Plan: Imported from GitHub, without a `Test Plan:` line.
In iOS Simulator press
cmd + d
twice, console outputs:Simulator outputs:
Environment:
The text was updated successfully, but these errors were encountered: