Add debug logging during rewriteResources
Merge pull request #1 from alexist/master

Add debug logging during rewriteResources