Allow use of debug option in resource mocks
Merge pull request #6 from neontribe/master

Allow use of debug option in resource mocks