code: function logNodeState() {
          if (brackets.app && brackets.app.getNodeState) {
              brackets.app.getNodeState(function (err, port) {
                  if (err) {
                      console.log("[NodeDebugUtils] Node is in error state " + err);
                  } else {
                      console.log("[NodeDebugUtils] Node is listening on port " + port);
                  }
              });
          } else {
              console.error("[NodeDebugUtils] No brackets.app.getNodeState function. Maybe you're running the wrong shell?");
          }
      }
docs: Logs the state of the current node server to the console.