Process and Threads Breadcrumbs Integration

为子进程和工作线程添加面包屑。(默认启用)

Import name: Sentry.processThreadBreadcrumbIntegration

此集成默认启用。如果您想修改默认集成,请阅读 修改默认集成

processThreadBreadcrumbIntegrationchild_processworker_threads 错误以及 child_process 非零退出代码添加面包屑。

Copied
Sentry.init({
  integrations: [Sentry.processThreadBreadcrumbIntegration()],
});

Type: boolean

如果设置为 true,集成将包含用于启动子进程的参数。