Add ability to debug queries.
Merge pull request #44 from mdx-dev/feature/debug

Add ability to debug queries.