From 6f54e98f0d4fc91fd15a5a70b7600d84d5f96a1b Mon Sep 17 00:00:00 2001 From: Tobias Schlatter Date: Fri, 20 Mar 2015 11:55:35 -0700 Subject: [PATCH] Fix #139: Mention source map support for Node.js in tutorial --- doc/tutorial.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/doc/tutorial.md b/doc/tutorial.md index 1aad3668..67eeeb33 100644 --- a/doc/tutorial.md +++ b/doc/tutorial.md @@ -120,6 +120,10 @@ in order not to disturb your teammates, in a separate `.sbt` file (say, This will enable the fastOpt stage by default when launching sbt. +**Source maps in Node.js**: To get your stack traces resolved on Node.js, you will have to install the `source-map-support` package. + + npm install source-map-support + ## Step 2: Integrating with HTML Now that we have a simple JavaScript application, we would like to use it in an HTML page. To do this, we need two steps: