This command enables or disables the kernel debugger for the specified boot entry. bcdedit /debug { ON | OFF } Specifies ...

This command enables or disables the kernel debugger for the specified boot
entry.

bcdedit /debug [] { ON | OFF }

             Specifies the identifier of the entry to be modified.  Only
                 Windows boot loader entries may be specified.  If not
                 specified, {current} is used. For more information about
                 identifiers, run "bcdedit /? ID".

Examples:

The following command enables kernel debugging for the current Windows
operating system boot entry:

    bcdedit /debug ON

The following command disables kernel debugging for the specified operating
system entry:

    bcdedit /debug {cbd971bf-b7b8-4885-951a-fa03044f5d71} OFF