-1

Can I debug javascript and PHP in the same file with eclipse?

I've tried a lot but it does not work. I have "Eclipse for PHP Developers"

Version: Helios Release
Build id: 20100617-1415"

I've installed JRE/JDK. I've installed zendserver/wamp. I've installed jsdt, but I could not run JavaScript on Eclipse.

Thanks in advance.

Tiago Mussi
  • 801
  • 3
  • 13
  • 20
israel love php
  • 457
  • 3
  • 6
  • 17
  • do you mean to click Yes or No to the answers ? – israel love php Apr 10 '12 at 11:26
  • Not really -- he means to click the Check on the answer you chose, or the answer that helps the most even if not perfect. That gives both you and the person who helped you credit for doing it. – MJB Apr 10 '12 at 11:30

1 Answers1

1

You debug JavaScript in the browser.

IE8+, Chrome, and Safari have JavaScript debuggers built in.

Firefox has Firebug.

Community
  • 1
  • 1
epascarello
  • 204,599
  • 20
  • 195
  • 236
  • Yes.but I have example that I can't debug http://www.centerwow.com/guide1/TitleLinkCoolie.html – israel love php Apr 10 '12 at 12:00
  • this link should need to pass parameter via cookie from one file to secend file and I have a problem to slove it. the debug of browser skip of some line code. – israel love php Apr 10 '12 at 12:01
  • @bamba1 You cannot debug js and php with the same debugger at once and it would quite pointless to do so anyway. They are different languages in totally different contexts and usually running on different machines with relatively little communication going on in between them. – d_inevitable Apr 10 '12 at 13:18