add -d flag to enable debug output
Merge pull request #426 from RiotGames/debug-output

add -d flag to enable debug output