Profiler.startPreciseCoverage

Enable precise code coverage. Coverage data for JavaScript executed before enabling precise code coverage may be incomplete. Enabling prevents running optimized code and resets execution counters.

{
  "name": "startPreciseCoverage",
  "parameters": [
    {
      "name": "callCount",
      "type": "boolean",
      "optional": true,
      "description": "Collect accurate call counts beyond simple 'covered' or 'not covered'."
    },
    {
      "name": "detailed",
      "type": "boolean",
      "optional": true,
      "description": "Collect block-based coverage."
    }
  ],
  "description": "Enable precise code coverage. Coverage data for JavaScript executed before enabling precise code coverage may be incomplete. Enabling prevents running optimized code and resets execution counters."
}