Fix TypeError when no options provided

`TypeError: Cannot read property 'debug' of undefined`
Merge pull request #34 from uecasm/patch-2

Fix TypeError when no options provided