'use strict';
var path = require('path');

module.exports = function(anden){
	console.log(__filename,'running');

	anden.app.get('/peperone', function(req, res) {
        res.send('<h1>Hello peperone!</h1><p>this is the life!</p>');
    });

	var staticPath = path.resolve('public');
    anden.app.use(anden.app.express.static(staticPath));
};
@@ -39,247 +39,245 @@
 ');%0A
-%0Amodule.exports = function(anden)%7B%0A%09console.log(__filename,'running');%0A%0A%09anden.app.get('/peperone', function(req, res) %7B%0A        res.send('%3Ch1%3EHello peperone!%3C/h1%3E%3Cp%3Ethis is the life!%3C/p%3E');%0A    %7D);%0A%0A%09var staticPath = path.resolve('public'
+var debug = require('debug')('app:middleware');%0A%0Amodule.exports = function(anden)%7B%0A%09debug('MIDDLEWARE APP %25s running', __filename);%0A%0A%09var staticPath = path.resolve('public');%0A%09debug('%5B%25s%5D use express static %25s %25s', anden.name, staticPath
 );%0A 

update example middleware