diff --git a/doc/api/inspector.md b/doc/api/inspector.md index 7d91377fc0040e..05178153ceb630 100644 --- a/doc/api/inspector.md +++ b/doc/api/inspector.md @@ -74,6 +74,9 @@ session.on('inspectorNotification', (message) => console.log(message.method)); // Debugger.resumed ``` +> **Caveat** Breakpoints with same-thread session is not recommended, see +> [support of breakpoints][]. + It is also possible to subscribe only to notifications with specific method: #### Event: ``; @@ -98,6 +101,9 @@ session.on('Debugger.paused', ({ params }) => { // [ '/the/file/that/has/the/breakpoint.js:11:0' ] ``` +> **Caveat** Breakpoints with same-thread session is not recommended, see +> [support of breakpoints][]. + #### `session.connect()`