Debugging the Beefree SDK Editor
Last updated
Was this helpful?
Last updated
Was this helpful?
The debug
parameter in the beeConfig
is an optional object that enables internal debugging features within the Beefree SDK editor. It's designed to help developers inspect configurations, , and more easily during development.
You can pass the debug
parameter directly in your beeConfig
object when initializing the editor. Alternatively, you can set or update it live using the loadConfig
method—no need to refresh the editor.
Example (in beeConfig
):
Set it live (no refresh needed):
The debug
parameter in the Beefree SDK configuration accepts the following parameters:
all
(boolean
): Enables all available debug options (inspectJson
and showTranslationKeys
). Use this during heavy debugging sessions.
The debug parameter is particularly helpful in the following scenarios:
You're troubleshooting UI rendering issues tied to configuration JSON.
You need to inspect what exact data is being used for rows/modules.
You're working on translations and want to ensure correct keys are being used.
inspectJson
(boolean
): Adds an eye icon in the toolbar that allows you to inspect the specific JSON used for that element. Useful for understanding how your configuration is being rendered.
showTranslationKeys
(boolean
): Replaces localized strings with their translation keys throughout the UI. This is especially helpful when debugging i18n issues or checking for missing .