title: Debug Node/Express Application in intellij ultimate 2017.1
body: <p>I'm trying to debug my express application I have configured my IDE based on the intellij help documentation. But when I run the application, the process never stops at the break points.</p>
  
  <p>Please find my configuration window details below: 
  <a href="https://i.stack.imgur.com/3BEmB.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/3BEmB.png" alt="enter image description here"></a></p>
  
  <p>Intellij version :  2017.1
  The bellow is what I'm seeing in the debugger console:</p>
  
  <pre><code>/Users/xxxxx/.nvm/versions/node/v8.1.2/bin/node --inspect-
  brk=64692 /Users/xxxxx/Documents/WORKSPACE/acme-
  web/services/acme.js
  Debugger listening on ws://127.0.0.1:64692/453107ba-002c-4066-9b4c-
  531e111aec87
  For help see https://nodejs.org/en/docs/inspector
  Debugger attached.
  Waiting for the debugger to disconnect...
  </code></pre>
  
  <p>My application runs on the port 8080.</p>
  
  <p>Did I missed anything, any pointers would be helpful</p>
  
  <p><strong>Edit :</strong></p>
  
  <p>I have tried to use IJ-EAP-2017.2. This is giving me a new error in console while trying to debug.</p>
  
  <pre><code>/Users/user-xxxx/.nvm/versions/node/v8.1.2/bin/node --inspect-brk=55169 /Users/user-xxxx/Documents/WORK/acme-prj-web/src/common/pages/yyyyPage.js
  Debugger listening on port 55169.
  Debugger attached.
  /Users/user-xxxx/Documents/WORK/acme-prj-web/src/common/pages/yyyyPage.js:1
  (function (exports, require, module, __filename, __dirname) { import React, { Component, PropTypes } from "react";
                                                                ^^^^^^
  SyntaxError: Unexpected token import
      at createScript (vm.js:53:10)
      at Object.runInThisContext (vm.js:95:10)
      at Module._compile (module.js:543:28)
      at Object.Module._extensions..js (module.js:580:10)
      at Module.load (module.js:488:32)
      at tryModuleLoad (module.js:447:12)
      at Function.Module._load (module.js:439:3)
      at Module.runMain (module.js:605:10)
      at run (bootstrap_node.js:427:7)
      at startup (bootstrap_node.js:151:9)
  Waiting for the debugger to disconnect...
  
  Process finished with exit code 1
  </code></pre>
  
  <p>I'm not sure why we are getting this error, still struggling to make the debugger work.</p>
  
  <pre><code>SyntaxError: Unexpected token import
      at createScript (vm.js:53:10)
  </code></pre>