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.


static breakInDebugger: boolean;


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.