Tracing.start

Start trace events collection.

{
  "name": "start",
  "async": true,
  "description": "Start trace events collection.",
  "parameters": [
    {
      "name": "categories",
      "type": "string",
      "optional": true,
      "deprecated": true,
      "description": "Category/tag filter"
    },
    {
      "name": "options",
      "type": "string",
      "optional": true,
      "deprecated": true,
      "description": "Tracing options"
    },
    {
      "name": "bufferUsageReportingInterval",
      "type": "number",
      "optional": true,
      "description": "If set, the agent will issue bufferUsage events at this interval, specified in milliseconds"
    },
    {
      "name": "transferMode",
      "type": "string",
      "enum": [
        "ReportEvents",
        "ReturnAsStream"
      ],
      "optional": true,
      "description": "Whether to report trace events as series of dataCollected events or to save trace to a stream (defaults to ReportEvents)."
    },
    {
      "name": "traceConfig",
      "$ref": "TraceConfig",
      "optional": true,
      "description": ""
    }
  ],
  "handlers": [
    "browser",
    "renderer"
  ]
}