Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added debug mode instructions for contributors.

  • Loading branch information...
commit 6f09c26f5f1f7042e3216e8fe8f15c52eedaaf26 1 parent eb14bbe
@airportyh authored
Showing with 11 additions and 0 deletions.
  1. +11 −0 CONTRIBUTING.md
View
11 CONTRIBUTING.md
@@ -13,6 +13,17 @@ The source code for the browser side is under the folders `public/testem` and `v
* `public/testem` - is where the client side assets are (Javascript and CSS)
* `views` - are HTML templates used to generate default test runner pages
+Debug Mode
+----------
+
+Use the `-d` flag to turn on debug mode. This will allow you to use
+
+ log.info('some log message')
+
+To log to the debug log, which is `testem.log`. If the `log` is not present in a module file, just require winston like so at the top of the file
+
+ var log = require('winston')
+
Tests and Examples
------------------
Please sign in to comment.
Something went wrong with that request. Please try again.