You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/rspack/src/trace/index.ts
+10-5Lines changed: 10 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
importfsfrom"node:fs";
2
-
importinspectorfrom"node:inspector";
2
+
3
3
// following chrome trace event format https://docs.google.com/document/d/1CvAClvFfyA5R-PhYUmn5OOQtYMH4h6I0nSsKchNAySU/preview?tab=t.0#heading=h.uxpopqvbjezh
4
4
exportinterfaceChromeEvent{
5
5
name: string;
@@ -17,6 +17,7 @@ export interface ChromeEvent {
17
17
global?: string;
18
18
};
19
19
}
20
+
20
21
// this is a tracer for nodejs
21
22
// FIXME: currently we only support chrome layer and do nothing for logger layer
22
23
exportclassJavaScriptTracer{
@@ -27,15 +28,18 @@ export class JavaScriptTracer {
27
28
// tracing file path, same as rust tracing-chrome's
0 commit comments