Commit 40d4fee
console: add support for console.debug
Adds the console.debug() method, alias for console.log(). This method is
exposed by V8 and was only available in inspector until now. Also adds
matching test and documentation.
PR-URL: #17033
Refs: #17004
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Khaidi Chu <i@2333.moe>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Timothy Gu <timothygu99@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>1 parent a12bc2d commit 40d4feeCopy full SHA for 40d4fee
File tree
Expand file treeCollapse file tree
3 files changed
+23
-0
lines changedOpen diff view settings
Filter options
- doc/api
- lib
- test/parallel
Expand file treeCollapse file tree
3 files changed
+23
-0
lines changedOpen diff view settings
Collapse file
+9Lines changed: 9 additions & 0 deletions
- Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
238 | 238 | |
239 | 239 | |
240 | 240 | |
| 241 | + |
| 242 | + |
| 243 | + |
| 244 | + |
| 245 | + |
| 246 | + |
| 247 | + |
| 248 | + |
| 249 | + |
241 | 250 | |
242 | 251 | |
243 | 252 | |
|
Collapse file
+3Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
134 | 134 | |
135 | 135 | |
136 | 136 | |
| 137 | + |
| 138 | + |
| 139 | + |
137 | 140 | |
138 | 141 | |
139 | 142 | |
|
Collapse file
test/parallel/test-console.js
Copy file name to clipboardExpand all lines: test/parallel/test-console.js+11Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
69 | 69 | |
70 | 70 | |
71 | 71 | |
| 72 | + |
| 73 | + |
| 74 | + |
| 75 | + |
| 76 | + |
| 77 | + |
| 78 | + |
72 | 79 | |
73 | 80 | |
74 | 81 | |
| ||
154 | 161 | |
155 | 162 | |
156 | 163 | |
| 164 | + |
| 165 | + |
| 166 | + |
| 167 | + |
157 | 168 | |
158 | 169 | |
159 | 170 | |
|
0 commit comments