Protractor: print found element properties in console while debuging
<p>I'm debugging protractor tests in Webstorm.
When I add this code: </p>

<pre><code> var title = element(by.xpath('//div[@class="title"]'));
 title.getText().then(function (text)
       {
           console.log(text);
       });
 expect(title.getText()).toEqual('Opportunities');
</code></pre>

<p>I get printed in console desired text.</p>

<p><strong>How to execute this directly in console?</strong><br>
When I add breakpoint on <code>expect</code> line 6 the part <code>console.log(text);</code> is not printed and I receive this output in console when I try to get elem text:</p>

<pre><code>&gt; ‌‌title.getText()
&lt; ‌ElementFinder
&gt; ‌‌title.getText().then(function (text)
{
console.log(text);
});
&lt; ManagedPromise
</code></pre>

<p>Is is possible to find elements and print it properties in debug console?</p>