简体   繁体   English

通过Eclipse + Javascript调试在远程Tomcat服务器上调试JSP

[英]Debugging JSP on a remote Tomcat server from Eclipse + Javascript debugging

I'm working on legacy code for a J2EE application which is installed on my company's DEV server. 我正在为我公司的DEV服务器上安装的J2EE应用程序的遗留代码进行开发。 I use eclipse to debug the JSP by activating debugging on the server's JVM and binding my workstation's eclipse to it. 我使用eclipse来调试JSP,方法是在服务器的JVM上激活调试并将我的工作站的eclipse绑定到它。 So far everything worked well, but now I've got to debug some Javascript code from those pages. 到目前为止,一切工作正常,但是现在我必须从这些页面调试一些Javascript代码。 I wish I could do it directly form eclipse as well, instead of having to find the code form within firebug and debugging is only form firebug. 我希望我也可以直接从Eclipse中完成它,而不必在firebug中找到代码形式,而调试仅是firebug形式。 Is there a way to bind eclipse to my local firefox copy and debug javascript from within eclipse? 有没有办法将eclipse绑定到我的本地firefox副本并从eclipse中调试javascript? I heard there were some solutions that allowed javascript debugging, but with this legacy code I'm also bound to certain browser version, so I'm stuck with firefox 2 and IE6. 我听说有些解决方案可以进行javascript调试,但是使用此旧代码,我还必须绑定到某些浏览器版本,因此我只能使用firefox 2和IE6。

Hope anyone can lighten the path. 希望任何人都可以照亮道路。

Thanks in advance. 提前致谢。

在此处查看JSDT: http : //www.eclipse.org/webtools/jsdt/debug/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM