We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b5b234d commit 512ab1fCopy full SHA for 512ab1f
lib/inspector.js
@@ -37,12 +37,8 @@ class Session extends EventEmitter {
37
connect() {
38
if (this[connectionSymbol])
39
throw new ERR_INSPECTOR_ALREADY_CONNECTED('The inspector session');
40
- const connection =
+ this[connectionSymbol] =
41
new Connection((message) => this[onMessageSymbol](message));
42
- if (connection.sessionAttached) {
43
- throw new ERR_INSPECTOR_ALREADY_CONNECTED('Another inspector session');
44
- }
45
- this[connectionSymbol] = connection;
46
}
47
48
[onMessageSymbol](message) {
0 commit comments