add Debug function to server …

// add Debug to server, so we can use it like this:
debug = process.server.Debug('resourceName:get|validate|post|put|delete')