Skip to main content

Developer tools

caution

Make sure you have followed the previous steps to setup your environment.

Because your MiniApp is running on an WebView, you don't have access to your usual debugging tool like the Chrome Dev Tools. Even the old window.alert does not work. To mitigate this issue, our SDK provides a custom tool that you can enable in order to see your console.log and network requests.

You can enable it in your MiniApp as such:

import { enableDevtools } from "@wcm/mini-app-sdk/devtools";

enableDevtools();