From d7747aa04c10c319d705689b003eb5cf7a82bad4 Mon Sep 17 00:00:00 2001 From: Vivian Wehner Date: Mon, 22 May 2023 08:29:59 -0700 Subject: [PATCH] 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 --- docs/extending/debugging.mdx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/extending/debugging.mdx b/docs/extending/debugging.mdx index f6263fe78..7f5d58a3e 100644 --- a/docs/extending/debugging.mdx +++ b/docs/extending/debugging.mdx @@ -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.