Sha256: 0d6403d0acca941294b5128b66571305628960d54e8b59cae30c38e6b97e6bf0

Contents?: true

Size: 327 Bytes

Versions: 27

Compression:

Stored size: 327 Bytes

Contents

var debug = require('../')('http')
  , http = require('http')
  , name = 'My App';

// fake app

debug('booting %s', name);

http.createServer(function(req, res){
  debug(req.method + ' ' + req.url);
  res.end('hello\n');
}).listen(3000, function(){
  debug('listening');
});

// fake worker of some kind

require('./worker');

Version data entries

27 entries across 27 versions & 2 rubygems

Version Path
stylus-source-0.38.0 vendor/node_modules/debug/example/app.js
stylus-source-0.37.0 vendor/node_modules/debug/example/app.js
stylus-source-0.36.1 vendor/node_modules/debug/example/app.js
stylus-source-0.36.0 vendor/node_modules/debug/example/app.js
stylus-source-0.35.1 vendor/node_modules/debug/example/app.js
stylus-source-0.35.0 vendor/node_modules/debug/example/app.js
stylus-source-0.34.1 vendor/node_modules/debug/example/app.js
stylus-source-0.34.0 vendor/node_modules/debug/example/app.js
stylus-source-0.33.1 vendor/node_modules/debug/example/app.js
stylus-source-0.33.0 vendor/node_modules/debug/example/app.js
stylus-source-0.32.1 vendor/node_modules/debug/example/app.js
stylus-source-0.32.0 vendor/node_modules/debug/example/app.js
stylus-source-0.31.0 vendor/node_modules/debug/example/app.js
stylus-source-0.30.1 vendor/node_modules/debug/example/app.js
stylus-source-0.30.0 vendor/node_modules/debug/example/app.js
iron_worker_ng-0.10.1 iron_worker_examples/binary/phantom-nodejs/node_modules/phantom/node_modules/express/node_modules/debug/example/app.js
stylus-source-0.29.0 vendor/node_modules/debug/example/app.js
stylus-source-0.28.2 vendor/node_modules/debug/example/app.js
stylus-source-0.28.1 vendor/node_modules/debug/example/app.js
stylus-source-0.28.0 vendor/node_modules/debug/example/app.js