-
Notifications
You must be signed in to change notification settings - Fork 0
Debug
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.
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/comfey@1.5.1/comfey.css">
Read more on ← Handling multiple apps in Comfey | Comfey Examples