Commit 50f02bd
doc: update vm.runInDebugContext() example
The debugger needs to be active now before one is allowed to query the
list of scripts. Replace the example with one that works without
installing a debug event listener first.
Fixes: #4862
PR-URL: #6757
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Myles Borins <myles.borins@gmail.com>1 parent 773ea20 commit 50f02bdCopy full SHA for 50f02bd
File tree
Expand file treeCollapse file tree
1 file changed
+3
-1
lines changedOpen diff view settings
Filter options
- doc/api
Expand file treeCollapse file tree
1 file changed
+3
-1
lines changedOpen diff view settings
Collapse file
+3-1Lines changed: 3 additions & 1 deletion
- Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
212 | 212 | |
213 | 213 | |
214 | 214 | |
| 215 | + |
215 | 216 | |
216 | | - |
| 217 | + |
| 218 | + |
217 | 219 | |
218 | 220 | |
219 | 221 | |
|
0 commit comments