lib/gcli/connectors/websocketserver.js
function debugStr(obj) {
  var summary = JSON.stringify(obj) || '';
  return summary.length > 40 ? summary.substr(0, 39) + '…' : summary;
}
function debugStr(obj) {
  var summary = JSON.stringify(obj) || '';
  return summary.length > 40 ? summary.substr(0, 39) + '…' : summary;
}
function debugStr ( obj ) { var summary = JSON . stringify ( obj ) || '' ; return summary . length > 40 ? summary . substr ( 0 , 39 ) + '…' : s mmary; }
Get a quick one line debug summary of an object
Get a quick one line debug summary of an object