jazzIIIlove
asked on
intellij java+js debugger. I need the js debugging part...
Hi;
I am using intellij latest version and I can debug java easily. I also want to use js debugger along with java debugger in intellij but couldn't manage so far.
I am setting a port for tomcat in remote settings as I have to since my application doesn't use the standard tomcat port.
What to do for js debugging?
Regards.
I am using intellij latest version and I can debug java easily. I also want to use js debugger along with java debugger in intellij but couldn't manage so far.
I am setting a port for tomcat in remote settings as I have to since my application doesn't use the standard tomcat port.
What to do for js debugging?
Regards.
ASKER
Hi;
What about combination of both Java and JS? No information about this in the link..
I failed as attached.
Regards.
screenshot.85.jpg
What about combination of both Java and JS? No information about this in the link..
I failed as attached.
Regards.
screenshot.85.jpg
How exactly does it fail? What error message do you get? Your screenshot shows the setting dialog, which isn't exactly helpful here :)
ASKER
Hi;
Thanks for the info, there is no error. I can run the Tomcat 6.0 JavaScript debugger but my problem is that i can only see my console.logs. The debugger doesn't stop in my breakpoints, which is the problem (I am rendering a table in my js code and it doesn't stop there).
I am also using chrome extension of intellij.
Regards.
Thanks for the info, there is no error. I can run the Tomcat 6.0 JavaScript debugger but my problem is that i can only see my console.logs. The debugger doesn't stop in my breakpoints, which is the problem (I am rendering a table in my js code and it doesn't stop there).
I am also using chrome extension of intellij.
Regards.
ASKER
I am using JS with Java in the same project.
Umm, you have surpassed my limited knowledge now I am afraid, hopefully someone who has more experience of this will be along soon. The last offering I can give is something I came across at http://blog.jetbrains.com/idea/2011/03/intellij-idea-debugging-javascript-in-google-chrome/, which talks about using Chrome specifically; perhaps this will help.
ASKER
It didn't help..
Here is a walkthrough for firefox debugging http://www.jetbrains.com/idea/training/demos/JavaScript_Debugger/server_side_js_debugger.html
But failing that, have you just tried to use the dev tools that come with Chrome (press F12) or using Firebug that is a plugin for firefox? They both have extensive debugging for javascript
But failing that, have you just tried to use the dev tools that come with Chrome (press F12) or using Firebug that is a plugin for firefox? They both have extensive debugging for javascript
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Is Firebug not an option for you ? It's js debugging is impressive.
ASKER
Ah, firebug is nice but the target audience uses IE and chrome, and I really need to have both options, Java and JS concurrently debuggable via Intellij.
Regards.
Regards.
Have you looked at the debugging tools in both IE and Chrome? Press F12 with the browser open.
ASKER
They are not enough for me..
Why? What are you wanting the debugger to do?
ASKER
Hi;
I am tired of console logging everywhere. That's the reason, i want it to work out properly.
Regards.
I am tired of console logging everywhere. That's the reason, i want it to work out properly.
Regards.
I've requested that this question be deleted for the following reason:
The question has either no comments or not enough useful information to be called an "answer".
The question has either no comments or not enough useful information to be called an "answer".
HTH