title: Debug Protractor Test case in IntelliJ using Intellij JavaScript debugger
body: <p>I have a question on debugging Protractor script in Intellij Idea 14.
  I did set up Dubuger configuration per this doc: protractor/docs/debugging.md and tried to debug my code by putting break-point against console.log to check value of lblInvalidLoginMsg object:</p>
  
  <pre><code>it('should do something', function() {
    txtEmail.sendKeys("aaa@asd.com");
    txtPassword.sendKeys("aaaaa");
    btnSignIn.click();
    lblInvalidLoginMsg.getAttribute('value').then(function(){
      console.log("hello");
    })
  
    expect(lblInvalidLoginMsg.getAttribute('value')).toEqual('Blah Blah');
  });
  </code></pre>
  
  <p>The problem is that debugger is showing no values when breakpoint is encountered. Debugger watch just shows me list of available methods i can apply against the object like <code>getText()</code>, <code>getID()</code> etc but no values that are expected.</p>
  
  <p>Console output gives something like:</p>
  
  <pre><code>‌‌lblInvalidLoginMsg.getId()
  ‌ElementFinder
  ‌‌lblInvalidLoginMsg.isElementPresent();
  ‌webdriver.promise.Promise
  </code></pre>
  
  <p>Same goes with "Evaluate" feature. Is there something I am missing?</p>
  
  <p>Updated: Added screenshot with my script in Debug mode + debug config + results from Protractor console.
  <img src="https://i.stack.imgur.com/GpQtf.png" alt="enter image description here"></p>