Edit debugging.mdx using inpage editor
Summary: This diff has been automatically generated by the inpage editor. NOTE: If you want to update this diff, go via the preview link inside the static docs section below. Ensure you are editing the same page that was used to create this diff. Reviewed By: mweststrate Differential Revision: D45996048 fbshipit-source-id: a509d9393d2b61ec044cdf1b749b5b6083070ff3
This commit is contained in:
committed by
Facebook GitHub Bot
parent
5be3b4b0f0
commit
d7747aa04c
@@ -42,4 +42,6 @@ Click on 'Plugin now showing' in the sidebar and see if your plugin is now liste
|
||||
|
||||
A common error here is `Error: fsevents unavailable (this watcher can only be used on Darwin)`. This can be fixed by installing watchman (`brew install watchman`).
|
||||
|
||||
## Print debugging
|
||||
Add console.log("test phrase %", object) and then search the developer tools log in Flipper to find what the value of the object is.
|
||||
If the plugin is listed in the desktop app, but still is not showing up in the sidebar, the mobile app is not announcing the plugin. In this case, make sure to instantiate your plugin and add it to your FlipperClient.
|
||||
|
||||
Reference in New Issue
Block a user