Description
I'm using 'express-resource-new' which has the feature to define some middleware to be executed before each REST function.
I haven't dove too deep but when I add more than 1 middleware all hell breaks loose.
here is a stack:
stack:
[ 'TypeError: Cannot read property 'EDT' of undefined',
' at /Users/zakariaf/Development/craterx/node_modules/express-debug/lib/panels/profile/inject.js:103:31',
' at Array.forEach (native)',
' at /Users/zakariaf/Development/craterx/node_modules/express-debug/lib/panels/profile/inject.js:99:21',
' at Array.forEach (native)',
' at /Users/zakariaf/Development/craterx/node_modules/express-debug/lib/panels/profile/inject.js:96:16',
' at Array.forEach (native)',
' at Object.injections.route_profiler (/Users/zakariaf/Development/craterx/node_modules/express-debug/lib/panels/profile/inject.js:93:29)',
' at Object.module.exports.request (/Users/zakariaf/Development/craterx/node_modules/express-debug/lib/panels/profile/index.js:29:16)',
' at Object.request (/Users/zakariaf/Development/craterx/node_modules/express-debug/lib/panels/index.js:64:25)',
' at Object.EDT as handler' ],
req: