Add debugging page

Summary: Information about debugging.

Reviewed By: passy

Differential Revision: D15198711

fbshipit-source-id: 587bca43d99908b666c58bb5279fadb61219e9a1
This commit is contained in:
John Knox
2019-05-03 09:44:44 -07:00
committed by Facebook Github Bot
parent 259adf1f36
commit 23b35e8006
3 changed files with 15 additions and 1 deletions

View File

@@ -0,0 +1,10 @@
---
id: debugging
title: Debugging
---
Flipper is built on Electron which itself is built on Chromium. This means we can debug Flipper using Chrome's developer tools. Flipper will also automatically install the React devtools extension allowing you to have better insight into what is going on in your plugin.
You can open the dev tools from the menu with `View` > `Toggle Developer Tools` or pressing ⌥⌘I on a Mac.
In addition to helping you with the JavaScript, the JS console will also display uncaught exceptions thrown from the client plugin in response to Flipper method calls.

View File

@@ -18,6 +18,9 @@
"extending/create-table-plugin": { "extending/create-table-plugin": {
"title": "Create Table Plugin" "title": "Create Table Plugin"
}, },
"extending/debugging": {
"title": "Debugging"
},
"extending/error-handling": { "extending/error-handling": {
"title": "Error Handling" "title": "Error Handling"
}, },

View File

@@ -40,7 +40,8 @@
"extending/create-plugin", "extending/create-plugin",
"extending/send-data", "extending/send-data",
"extending/error-handling", "extending/error-handling",
"extending/testing" "extending/testing",
"extending/debugging"
], ],
"Other Platforms": [ "Other Platforms": [
"extending/new-clients", "extending/new-clients",