How to debug symfony in Netbeans? I cannot call specific pages

家住魔仙堡 提交于 2019-12-04 15:57:38
Timo

It is easier to use the following:

  1. Set the Debug URL to "Do not open Webbrowser" (Project->Properties->Run Configuration->Advanced)

  2. Start the debugging session with Netbeans (Netbeans doesn't start a browser but waits for a XDebug connection)

  3. Use the easy XDebug-Firefox-Plugin to start XDebug for you Symfony App (easy XDebug)

Thats it. This is working perfectly for my Symfony apps

Raffael

As far as I undersand you, this is a std-situation when there is no 101-path-mapping from file-path to URL-path.

In Eclipse you can either define a completely new path-mapping or make Eclipse request a certain URL-path. In your case you would just define localhost as your server and '/s/web/frontend_dev.php/travel' as the path to attach.

I'm pretty sure there is a similar option in NetBeans as this is in times of mod-rewrite and Zend FW a very common situation.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!