title: How to disable debug messages on sockjs- STOMP
body: <p>I have the follow situation:</p>
  
  <pre><code> var options = {
          protocols_whitelist : [ "websocket", "xhr-streaming", "xdr-streaming", "xhr-polling", "xdr-polling", "iframe-htmlfile", "iframe-eventsource", "iframe-xhr-polling" ],
          debug : false
      };
  
      var socket = new SockJS("/mmyurl/",undefined,options);
      var stompClient = Stomp.over(socket);
      stompClient.connect({
          company : "XXXXX"
      }, function(frame) {
          stompClient.subscribe('/topic/mytopic', function(message){ 
              var myitem = JSON.parse(message.body);
  
          });
  </code></pre>
  
  <p>all works fine, the problem is that on the javascript console is full of debug messages like this:</p>
  
  <pre><code>&lt;&lt;&lt; MESSAGE
  content-type:application/json;charset=UTF-8
  subscription:sub-1
  message-id:o6g660dt-113
  destination:/topic/mytopic
  content-length:411
  </code></pre>
  
  <p>And I want to disable the messages.</p>
  
  <p>I tried to change some option and also tried to register simply:</p>
  
  <pre><code>var socket = new SockJS("/mmyurl/");
  </code></pre>
  
  <p>but it doesn't work.</p>
  
  <p>Is there a way to disable the debug messages?</p>
  
  <p>Any help is appreciated</p>