Sophie

Sophie

distrib > Fedora > 18 > x86_64 > media > updates > by-pkgid > 6a1367fdb12d3bbb2e9aa49e0cd77079 > files > 13

nodejs-debug-0.7.2-4.fc18.noarch.rpm

<html>
  <head>
    <title>debug()</title>
    <script src="../debug.js"></script>
    <script>
      // type debug.enable('*') in
      // the console and refresh :)

      a = debug('worker:a');
      b = debug('worker:b');

      setInterval(function(){
        a('doing some work');
      }, 1000);

      setInterval(function(){
        a('doing some work');
      }, 1200);
    </script>
  </head>
  <body>
    
  </body>
</html>