Reputation: 2381
Apply all operations from the instruction:
Create a blank React Native project with $ react-native init [project name].
From the command Palette (Cmd-Shift-P), choose "Nuclide React Native: Start Packager" to start the React Native Server.
After starting the server, you can prime the React Native Debugger for when the application begins running. From the command Palette (Cmd-Shift-P), launch "Nuclide React Native: Start Debugging".
Ensure that you are in the root directory of the React Native project, then run the application from the command-line: $ react-native run-ios
(or choose another existing simulator, for example, react-native run-ios --simulator="iPhone4s"
).
(Important: #4 should follow AFTER #3, and chrome debugger should be closed).
Cmd-D
(Ctrl-D
on Linux). This will bring up the debug options for your application. For example, select Debug JS Remotely.In the same doc said: "...After you enable debugging (#5) from the simulated application, Nuclide will attach to that debugging process automatically since we primed the Debugger above (#3)." So before I clicked Debug JS Remotely I saw the working react app as expected:
And after I clicked Debug JS Remotely I see that the Nuclide
debugger changed its status from Starting debugger... to The debuggee is currently running. as expected as well:
BUT after I click Debug JS Remotely I see white screen only
And there are no errors. As soon as I turn off remote debugging, everything loads fine again.
This happens with Nuclide debugger only, with chrome debugger, everything works well.
Upvotes: 94
Views: 5084
Reputation: 11
check maybe there is no breakage in your code. it sometimes happens when you skip some minor errors.
Upvotes: 1