Skip to content
This repository was archived by the owner on Feb 21, 2020. It is now read-only.

Latest commit

 

History

History
23 lines (14 loc) · 627 Bytes

File metadata and controls

23 lines (14 loc) · 627 Bytes

Inspecting JS code

Inspecting code

  1. Run js server with --inspect switch:
node --inspect ubuntu-server.js
  1. Run your react-native-desktop application

  2. Open chrome://inspect page in a Chrome browser

  3. Click on inspect link near ubuntu-server.js Target

  4. Chrome devtools will open where you can see console output of your application and debug it.

Inspecting UI

Read how to investigate UI structure with react-devtools