I'd like to develop AngularJS 2 web pages with Firefox + WebStorm on Windows.
For that, the WebStorm configuration manual tells to type listen 6000 at the Console command line. Though doing so gives a SyntaxError: missing ; before statement error message. listen 6000; does not help.
I suspect the listen command might be removed, as it gives ReferenceError: listen is not defined when executing it without port.
Of course, I already ticked the "Enable remote debugging" checkbox and restarted the browser.
Note that I'm using Firefox 49.
The command line shown in the WebStorm documentation is the so called "Developer Toolbar", not the command line of the DevTools Console panel.
To open that toolbar press Shift + F2 or click the Firefox menu and choose Developer > Developer Toolbar.
When you enter listen 6000 in there, you should get a message 'Listening on port 6000' as confirmation that it was successfully executed.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With