diff --git a/lib/console.js b/lib/console.js index cb38fa5..3445f9a 100644 --- a/lib/console.js +++ b/lib/console.js @@ -6,7 +6,7 @@ function ConsoleAgent(sendEvent) { this.enabled = false; this.messages = []; - ['log', 'warn', 'info', 'error'].forEach(function(level) { + ['log', 'warn', 'info', 'error', 'dir'].forEach(function(level) { var ref = console[level]; console[level] = function() { ref.apply(this, arguments);