Commit 824dcfc
src: return void in InitializeInspector()
We have been ignoring inspector port binding errors during startup.
Handling this error would be a breaking change and it's probably
surprising to refuse to launch the Node.js instance simply because
the inspector cannot listen to the port anyway. So just turn the
return value of InitializeInspector() and remove the TODOs for
handling the error.
PR-URL: #44903
Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>1 parent b2e6048 commit 824dcfcCopy full SHA for 824dcfc
File tree
Expand file treeCollapse file tree
6 files changed
+63
-11
lines changedOpen diff view settings
Filter options
- src
- api
- test/parallel
Expand file treeCollapse file tree
6 files changed
+63
-11
lines changedOpen diff view settings
Collapse file
-1Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
370 | 370 | |
371 | 371 | |
372 | 372 | |
373 | | - |
374 | 373 | |
375 | 374 | |
376 | 375 | |
|
Collapse file
+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
617 | 617 | |
618 | 618 | |
619 | 619 | |
620 | | - |
| 620 | + |
621 | 621 | |
622 | 622 | |
623 | 623 | |
|
Collapse file
+3-3Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
166 | 166 | |
167 | 167 | |
168 | 168 | |
169 | | - |
| 169 | + |
170 | 170 | |
171 | 171 | |
172 | 172 | |
| ||
187 | 187 | |
188 | 188 | |
189 | 189 | |
190 | | - |
| 190 | + |
191 | 191 | |
192 | 192 | |
193 | 193 | |
| ||
196 | 196 | |
197 | 197 | |
198 | 198 | |
199 | | - |
| 199 | + |
200 | 200 | |
201 | 201 | |
202 | 202 | |
|
Collapse file
-4Lines changed: 0 additions & 4 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
181 | 181 | |
182 | 182 | |
183 | 183 | |
184 | | - |
185 | | - |
186 | 184 | |
187 | 185 | |
188 | 186 | |
| ||
201 | 199 | |
202 | 200 | |
203 | 201 | |
204 | | - |
205 | | - |
206 | 202 | |
207 | 203 | |
208 | 204 | |
|
Collapse file
-2Lines changed: 0 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1173 | 1173 | |
1174 | 1174 | |
1175 | 1175 | |
1176 | | - |
1177 | | - |
1178 | 1176 | |
1179 | 1177 | |
1180 | 1178 | |
|
Collapse file
test/parallel/test-inspect-address-in-use.js
Copy file name to clipboard+59Lines changed: 59 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
| 1 | + |
| 2 | + |
| 3 | + |
| 4 | + |
| 5 | + |
| 6 | + |
| 7 | + |
| 8 | + |
| 9 | + |
| 10 | + |
| 11 | + |
| 12 | + |
| 13 | + |
| 14 | + |
| 15 | + |
| 16 | + |
| 17 | + |
| 18 | + |
| 19 | + |
| 20 | + |
| 21 | + |
| 22 | + |
| 23 | + |
| 24 | + |
| 25 | + |
| 26 | + |
| 27 | + |
| 28 | + |
| 29 | + |
| 30 | + |
| 31 | + |
| 32 | + |
| 33 | + |
| 34 | + |
| 35 | + |
| 36 | + |
| 37 | + |
| 38 | + |
| 39 | + |
| 40 | + |
| 41 | + |
| 42 | + |
| 43 | + |
| 44 | + |
| 45 | + |
| 46 | + |
| 47 | + |
| 48 | + |
| 49 | + |
| 50 | + |
| 51 | + |
| 52 | + |
| 53 | + |
| 54 | + |
| 55 | + |
| 56 | + |
| 57 | + |
| 58 | + |
| 59 | + |
0 commit comments