Scroom
IntroductionAPI ReferenceDebugExampleImportantUsage with ReactExamples

Debug

The debug tool of Scroom can help you locate the problem quickly.

import { createScroom, debug } from "scroom";
const sc = createScroom(...);
debug(sc)

Example


You can also provide a debug ID.

debug(sc, "your-id");

Important

It is not recommended to use debug tool in a production environment. It will affect performance and bundle size.