BChecks are custom scan checks that you can create and import. Burp Scanner runs these checks in addition to its built-in scanning routine, helping you to target your scans and make your testing workflow as efficient as possible. Source portswigger.net.
Add a new BCheck: Extensions > BChecks > Import
You can debug your BChecks by running unit tests on specified requests. To add a request, right-click on it and then click Send to BChecks editor.