Index: Source/core/inspector/InjectedScriptSource.js |
diff --git a/Source/core/inspector/InjectedScriptSource.js b/Source/core/inspector/InjectedScriptSource.js |
index 34e163ec5ba633670d5ae1e0c28ad6f7f6ead969..3c4bd9e31849348cc2becd307b9ec12724cfc673 100644 |
--- a/Source/core/inspector/InjectedScriptSource.js |
+++ b/Source/core/inspector/InjectedScriptSource.js |
@@ -1153,7 +1153,8 @@ function CommandLineAPI(commandLineAPIImpl, callFrame) |
*/ |
CommandLineAPI.members_ = [ |
"$", "$$", "$x", "dir", "dirxml", "keys", "values", "profile", "profileEnd", |
- "monitorEvents", "unmonitorEvents", "inspect", "copy", "clear", "getEventListeners", "table" |
+ "monitorEvents", "unmonitorEvents", "inspect", "copy", "clear", "getEventListeners", |
+ "debug", "table" |
]; |
/** |
@@ -1310,6 +1311,11 @@ CommandLineAPIImpl.prototype = { |
return InjectedScriptHost.getEventListeners(node); |
}, |
+ debug: function(fn) |
+ { |
+ InjectedScriptHost.setBreakpoint(fn); |
+ }, |
+ |
table: function() |
{ |
inspectedWindow.console.table.apply(inspectedWindow.console, arguments); |