Skip to content
Anil Maharjan edited this page Dec 16, 2020 · 2 revisions

To enable Comfey Debugger. Initialize the app with the debug flag as the second argument.

 const COMFEY_DEBUG = false;
 const app = new Comfey(context, COMFEY_DEBUG);

Setting debug flag ON will add a Comfey debugger to your screen that allows you to monitor your states. You can drag the debugger layer around, or resize if you need.

Styling

To get the styles you will have to use css from CDN. Add following to your HTML.

<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/comfey.css">

Screenshot

Comfey Debugger


Read more on ← Handling multiple apps in Comfey | Comfey Examples