[
https://issues.jboss.org/browse/JBIDE-18227?page=com.atlassian.jira.plugi...
]
Ilya Buziuk commented on JBIDE-18227:
-------------------------------------
Actually console.debug was implemented:
{code}
"debug: function(message) {" //$NON-NLS-1$
"console.log(message);" //$NON-NLS-1$ do the same as for
'console.log'
"}"
{code}
^ Due to the fact that *console.log* and *console.debug* are identical -
https://developer.chrome.com/devtools/docs/console-api#consoledebugobject...
However, this implementation has a prefix side effect. Need to do it better.
JS console.debug() displays message to console with LOG prefix
--------------------------------------------------------------
Key: JBIDE-18227
URL:
https://issues.jboss.org/browse/JBIDE-18227
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: browsersim
Affects Versions: 4.2.0.CR1
Environment: JBDS 8.0.0.CR1-v20140831-0335-B201
Reporter: Vlado Pakan
Assignee: Ilya Buziuk
Priority: Minor
Fix For: 4.3.0.Alpha1
JavaScript command console.debug("debug message") invoked within page opened in
Browsersim is displaying this string to Eclipse console:
{noformat}
!JavaScript LOG: debug message
{noformat}
It should display this message maybe also with different color then log message is
displayed:
{noformat}
!JavaScript DEBUG: debug message
{noformat}
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)