title: How to debug protractor script using Eclipse?
body: <p>From command line, protractor is run by typing <code>protractor conf.js</code> which in turn runs the script.</p>
  
  <p>My conf.js looks like this:</p>
  
  <pre><code>  exports.config = {
    directConnect: true,
  
    // Capabilities to be passed to the webdriver instance.
    capabilities: {
      'browserName': 'chrome'
    },
  
    // Framework to use. Jasmine is recommended.
    framework: 'jasmine',
  
    // Spec patterns are relative to the current working directory when
    // protractor is called.
    specs: ['animal_adoption_1.js'],
  
    // Options to be passed to Jasmine.
    jasmineNodeOpts: {
      defaultTimeoutInterval: 30000
    }
  };
  </code></pre>
  
  <p>The error that I am getting is :</p>
  
  <blockquote>
    <p>js:
    "C:\Users\Shikhar\AppData\Roaming\npm\node_modules\protractor\ParamProc\conf.js",
    line 2: uncaught JavaScript runtime exception: ReferenceError:
    "exports" is not defined.     at
    C:\Users\Shikhar\AppData\Roaming\npm\node_modules\protractor\ParamProc\conf.js:2</p>
  </blockquote>
  
  <p>I am using Eclipse Indigo as the IDE. Do I need to use Karma in order to do this or anything else?</p>