Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions doc/api/diagnostics_channel.md
Original file line number Diff line number Diff line change
Expand Up @@ -1713,23 +1713,23 @@ closing the stream can be retrieved using the `stream.rstCode` property.

> Stability: 1 - Experimental

##### Event: `'module.require.start'`
##### Event: `'tracing:module.require:start'`

* `event` {Object} containing the following properties
* `id` Argument passed to `require()`. Module name.
* `parentFilename` Name of the module that attempted to require(id).

Emitted when `require()` is executed. See [`start` event][].

##### Event: `'module.require.end'`
##### Event: `'tracing:module.require:end'`

* `event` {Object} containing the following properties
* `id` Argument passed to `require()`. Module name.
* `parentFilename` Name of the module that attempted to require(id).

Emitted when a `require()` call returns. See [`end` event][].

##### Event: `'module.require.error'`
##### Event: `'tracing:module.require:error'`

* `event` {Object} containing the following properties
* `id` Argument passed to `require()`. Module name.
Expand All @@ -1738,23 +1738,23 @@ Emitted when a `require()` call returns. See [`end` event][].

Emitted when a `require()` throws an error. See [`error` event][].

##### Event: `'module.import.asyncStart'`
##### Event: `'tracing:module.import:asyncStart'`

* `event` {Object} containing the following properties
* `id` Argument passed to `import()`. Module name.
* `parentURL` URL object of the module that attempted to import(id).

Emitted when `import()` is invoked. See [`asyncStart` event][].

##### Event: `'module.import.asyncEnd'`
##### Event: `'tracing:module.import:asyncEnd'`

* `event` {Object} containing the following properties
* `id` Argument passed to `import()`. Module name.
* `parentURL` URL object of the module that attempted to import(id).

Emitted when `import()` has completed. See [`asyncEnd` event][].

##### Event: `'module.import.error'`
##### Event: `'tracing:module.import:error'`

* `event` {Object} containing the following properties
* `id` Argument passed to `import()`. Module name.
Expand Down Expand Up @@ -1845,7 +1845,7 @@ process has been created.

Emitted when [`child_process.spawn()`][] encounters an error.

##### Event: `'execve'`
##### Event: `'process.execve'`

* `execPath` {string}
* `args` {string\[]}
Expand Down
Loading