Add debug for aborted queries
Add startup debug logging.
Merge pull request #1476 from cdjackson/mysql-debugging

[My-SQL] Add debug for aborted queries