Reputation: 2381
Apply all operations from the instruction :
Start the React Native Server. Done. It successfully listenings port 8081.
Prime the Debugger (From the Command Palette, launch "Nuclide React Native: Start Debugging"). Done.
Enable Debugging from the Application - select "Debug JS Remotely". Done.
"...After you enable debugging from the simulated application, Nuclide will attach to that debugging process automatically, since we primed the Debugger above..." BUT it does not start/work!
Atom version 1.15.0
Nuclide plugin version 0.209.0
React Native version: 0.42
Platform(s) (iOS, Android, or both?): iOS
Device info Simulator/Device? - Simulator iOS 10.2 / iOS 8.1
OS version? - MacOS 10.12.3
Debug/Release? - Debug
$ apm ls --installed Community Packages (17)
So, my application works fine, packager/React Native Server works fine, I successfully see my logs in Chrome dev tolls, BUT Nuclide debugger does not work/start, it still in "Starting debugger mode"
May be someone have any ideas what I'm doing wrong? Thanks.
Upvotes: 2
Views: 2849
Reputation: 3507
Start the debugger before you start the iOS simulator so that the simulator doesn't open a Chrome debugger which will hog the port.
To expand on that a little, I was getting the exact same experience and what was happening was that when I started the iOS Simulator it was opening a Chrome window for debugging. This happens if the Nuclide debugger isn't already running when debugging is enabled in the simulator.
Upvotes: 2