如何设置eclipse PHP调试正确的URL [英] How to set the correct URL for eclipse PHP debugging

查看:395
本文介绍了如何设置eclipse PHP调试正确的URL的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我的应用程序的URL必须是? 。这有一个xxxx太多了。如何摆脱这个问题?

解决方案

您可以配置项目特定的URL。

打开项目属性> PHP Debug>默认基本URL



此外,假设您正在使用eclipse-php-3.0.2,请尝试这样做。

1。退出eclipse。

2.使用文本编辑器打开工作区/ .metadata / .plugins / org.eclipse.debug.core / .launches / {name} .launch。

3 。找到'< booleanAttribute key =auto_generated_urlvalue =true/>'

4.用false替换true并保存。

5。开始日食。


I'm having a trouble setting up PHP debugging in Eclipse with a non standard URL.

The URL for my application must be http://xxx/index.php. That's something I cannot easily change.

I'm constantly failing in setting up the debug configuration to call this URL. This is what I've set up:

The URL I'm getting is http://xxxx/xxxx/index.php?. This has one xxxx too much. How can I get rid of this?

解决方案

You are able to configure project specific url.
Open project properties > PHP Debug > Default Base URL

Also, assuming you are using eclipse-php-3.0.2, try this.
1. Exit eclipse.
2. Open workspace/.metadata/.plugins/org.eclipse.debug.core/.launches/{name}.launch with a text editor.
3. Find '<booleanAttribute key="auto_generated_url" value="true"/>'
4. Replace "true" by "false" and save it.
5. Start eclipse.

这篇关于如何设置eclipse PHP调试正确的URL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆