2010-11-22 Ilya Tikhonovsky <loislo@chromium.org>
[WebKit-https.git] / WebCore / inspector / CodeGeneratorInspector.pm
index c2b0eb476a2b71ce849ee0762a80b000d68ea96e..8a3654d3cb0e19d21b4b2bc7a5c23bc0fafe0056 100644 (file)
@@ -599,6 +599,9 @@ WebInspector.InspectorBackendStub.prototype = {
             request.seq = WebInspector.Callback.wrap(args[0]);
         }
 
+        if (window.dumpInspectorProtocolMessages)
+            console.log("frontend: " + JSON.stringify(request));
+
         var message = JSON.stringify(request);
         InspectorFrontendHost.sendMessageToBackend(message);
     }