简体   繁体   English

NetBeans调试问题

[英]NetBeans debugging issue

When I click the debug button, I get a browser open up pointing to the following url: 当我单击调试按钮时,我会打开一个指向以下URL的浏览器:

http://localhost/www/somepage.php?XDEBUG_SESSION_START=netbeans-xdebug

For some reason it keeps inserting the www into the url 由于某种原因,它不断将www插入网址

If I manually remove the www from the browser address bar, the debugging continues as it should. 如果我从浏览器地址栏手动删除www ,则调试将继续进行。

Anyone know how to get it to stop adding that www to the url? 任何人都知道如何让它停止将该www添加到网址?

Please check the "Project URL" and "Index file" values in Project properties and "Run configuration" tab. 请检查项目属性和“运行配置”选项卡中的“项目URL”“索引文件”值。

Netbeans gives you a reminder of the final URL, just under the "Arguments" input field. Netbeans会在“参数”输入字段下方提醒您最终的URL。 You should see an URL like this : 你应该看到这样的URL:

http://localhost/www/index.php

Hope this helps ! 希望这可以帮助 !

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

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