add more V8 debugger commands
This commit is contained in:
parent
5ac9a3e464
commit
addebed77c
2 changed files with 9 additions and 2 deletions
|
|
@ -48,8 +48,11 @@ function testChrome() {
|
|||
console.log("V8 version:", version.V8Version);
|
||||
});
|
||||
|
||||
v8debugger.scripts(4, null, true, function(scripts) {
|
||||
console.log("scripts", scripts);
|
||||
v8debugger.scripts(4, null, false, function(scripts) {
|
||||
console.log("scripts (short)", scripts);
|
||||
v8debugger.scripts(4, [scripts[0].id], true, function(scripts) {
|
||||
console.log("scripts (full)", scripts);
|
||||
});
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue