Commit 75e07fe
src: introduce inspect-brk-node
This commit is a suggestion to add a new option to the node executable
to allow for breaking in node's javascript bootstrapper code.
Previously I've been able to set breakpoints in node bootstrapper code
and then restart the debugging session and those breakpoints would be
hit, but I don't seem to be able to do so anymore. Having this option
would allow me to use this option and then step through or add more
break points as needed.
PR-URL: #20819
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: James M Snell <jasnell@gmail.com>1 parent a1580a0 commit 75e07feCopy full SHA for 75e07fe
File tree
Expand file treeCollapse file tree
4 files changed
+20
-3
lines changedOpen diff view settings
Filter options
- lib/internal/bootstrap
- src
Expand file treeCollapse file tree
4 files changed
+20
-3
lines changedOpen diff view settings
Collapse file
lib/internal/bootstrap/loaders.js
Copy file name to clipboardExpand all lines: lib/internal/bootstrap/loaders.js+4-1Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
40 | 40 | |
41 | 41 | |
42 | 42 | |
43 | | - |
| 43 | + |
| 44 | + |
| 45 | + |
| 46 | + |
44 | 47 | |
45 | 48 | |
46 | 49 | |
|
Collapse file
+7-1Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
2716 | 2716 | |
2717 | 2717 | |
2718 | 2718 | |
| 2719 | + |
| 2720 | + |
| 2721 | + |
| 2722 | + |
| 2723 | + |
2719 | 2724 | |
2720 | 2725 | |
2721 | 2726 | |
| ||
2950 | 2955 | |
2951 | 2956 | |
2952 | 2957 | |
2953 | | - |
| 2958 | + |
| 2959 | + |
2954 | 2960 | |
2955 | 2961 | |
2956 | 2962 | |
|
Collapse file
+4Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
58 | 58 | |
59 | 59 | |
60 | 60 | |
| 61 | + |
61 | 62 | |
62 | 63 | |
63 | 64 | |
| ||
90 | 91 | |
91 | 92 | |
92 | 93 | |
| 94 | + |
| 95 | + |
| 96 | + |
93 | 97 | |
94 | 98 | |
95 | 99 | |
|
Collapse file
+5-1Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
19 | 19 | |
20 | 20 | |
21 | 21 | |
22 | | - |
| 22 | + |
| 23 | + |
| 24 | + |
23 | 25 | |
24 | 26 | |
25 | 27 | |
26 | 28 | |
| 29 | + |
27 | 30 | |
28 | 31 | |
29 | 32 | |
30 | 33 | |
31 | 34 | |
| 35 | + |
32 | 36 | |
33 | 37 | |
34 | 38 | |
|
0 commit comments