Rush StackShopBlogEvents
Skip to main content

Home > @rushstack/node-core-library > InternalError > breakInDebugger

InternalError.breakInDebugger property​

If true, a JavScript debugger; statement will be invoked whenever the InternalError constructor is called.

Signature:

static breakInDebugger: boolean;

Remarks​

Generally applications should not be catching and ignoring an InternalError. Instead, the error should be reported and typically the application will terminate. Thus, if InternalError is constructed, it's almost always something we want to examine in a debugger.