How to output to console in PHPStorm when debugging Javascript?
-
11-12-2019 - |
Question
Javascript debugging is great in PHPStorm, but how do I simply output a string to the console from JS?
In Firebug, I would add something like:
console.log('Internet successfully downloaded');
What is the PHPStorm-debugger equivalent?
Solution
It's now supported for both Chrome and Firefox.
Original answer from 2012:
This feature is supported only for Firefox at the moment. If you are using Chrome, please vote for the related feature request.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow