☕️ Classic, reliable, trusted test framework for Node.js and the browser
Document debug/--debuger (close #692)
Peter Rustf7e4ba64ee5f
diff --git a/index.html b/index.htmlindex 6619c785..a6b4261a 100644--- a/index.html+++ b/index.html@@ -342,7 +342,7 @@ Options:<h3 id="debug-option">-d, --debug</h3>-<p>Enables node's debugger support, this executes your script(s) with <code>node debug <file ...></code> allowing you to step through code and break with the <strong>debugger</strong> statement.</p>+<p>Enables node's debugger support, this executes your script(s) with <code>node debug <file ...></code> allowing you to step through code and break with the <strong>debugger</strong> statement (<code>mocha debug ...</code> will fire up node's built-in debug client, <code>mocha --debug ...</code> will allow you to use a different client, such as the WebKit Web Inspector).</p><h3 id="globals-option">--globals <names></h3>@@ -784,4 +784,4 @@ test('#length', function(){<span>© 2011 TJ Holowaychuk. All rights reserved.</span></footer></body>-</html>\ No newline at end of file+</html>diff --git a/index.md b/index.mdindex dcc88784..9b68f012 100644--- a/index.md+++ b/index.md@@ -302,7 +302,7 @@ Testing asynchronous code with Mocha could not be simpler! Simply invoke the cal<h3 id="debug-option">-d, --debug</h3>- Enables node's debugger support, this executes your script(s) with `node debug <file ...>` allowing you to step through code and break with the __debugger__ statement.+ Enables node's debugger support, this executes your script(s) with `node debug <file ...>` allowing you to step through code and break with the __debugger__ statement (`mocha debug ...` will fire up node's built-in debug client, `mocha --debug ...` will allow you to use a different client, such as the WebKit Web Inspector).<h3 id="globals-option">--globals <names></h3>