agency-kit / notion-cms

Add super powers to Notion by making it your full-fledged headless CMS.

Home Page:https://www.agencykit.so/notion-cms/guide/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add greater debug control

earlAchromatic opened this issue · comments

Currently the debug chain turns on all possible debugging tools - Notion API logs, NotionCMS console logs and (its turned off for now) fs output logs from the parser. If we instead used a debug object we could let end users specify which debugging features they want turned on.

One idea would be to add debug logs for plugins. I would want to see which plugin ran in what order for each hook. and possibly other things like run duration? For debugging performance specifically.