Adapted for new 'debug' reporting type.
Merge pull request #245 from roydude/v1-train

Adapted for new 'debug' reporting type.