For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt, and this page is available as Markdown at /reference/sdk/sapi/runtime/functions/setDebugEnabled.md.
  • 简体中文
  • Function: setDebugEnabled()

    function setDebugEnabled(on: boolean): void;

    Defined in: sapi/runtime/debug-log.ts:27

    设置是否将调试日志输出到控制台(默认关闭以保持静默)。

    Parameters

    ParameterTypeDescription
    onboolean是否开启控制台输出。

    Returns

    void