Home » Language IDEs » PHP Development Tools (PDT) » path problem with mod_rewrite, XDebug, PDT, XAMPP and Windows XP
path problem with mod_rewrite, XDebug, PDT, XAMPP and Windows XP [message #494379] |
Fri, 30 October 2009 09:42  |
Eclipse User |
|
|
|
My mod_rewrite turns accounts/create into index.php?folder=accounts&action=create, but pdt ignores it, so when I try to start a PHP Script debug session, I have to type a folder location in the file field and pdt doesn't accept.
When PDT auto generates the URL for the PHP Web Page debug session, I go to http://localhost/myframe/index.php?XDEBUG%5FSESSION%5FSTART= ECLIPSE%5FDBGP&KEY=12569067976875, but myframe is in the frameworks folder, so I get a 404 error.
When I check a breakpoint, uncheck Auto Generate, add frameworks before myframe in URL, set Start Debug from http://localhost/frameworks/myframe/accounts/create in Advanced and click Debug, the debugger doesn't stop at the breakpoint.
[Updated on: Fri, 30 October 2009 10:00] by Moderator
|
|
|
Re: path problem with mod_rewrite, XDebug, PDT, XAMPP and Windows XP [message #494418 is a reply to message #494379] |
Fri, 30 October 2009 10:56   |
Eclipse User |
|
|
|
Originally posted by: dkel50.hotremovemail.com
The problem might be to do with path mapping. In the launch
configuration you need to specify the php file that will be invoked when
the specific URL in the launch configuration is invoked.
so whatever file is really invoked when you specify
http://localhost/frameworks/myframe/accounts/create
should be set to the file that exists in your workspace.
Alternatively try using firefox xdebughelper and Remote Session Initiation.
See http://www.eclipse.org/pdt/documents/XDebugGuideForPDT2.0.pd f
for more info
Dave Kelsey
On 30/10/09 13:42, pedbessa@hotmail.com wrote:
> When I use a PHP Script debug session with mod_rewrite, eclipse asks me
> to start from a file location, but /myframe/accounts/create is a folder
> location and my mod_rewrite turns all folder locations into file
> locations, but my PHP Script debug session doesn't care.
>
> When PDT auto generates the URL for the PHP Web Page debug session, I go
> to
> http://localhost/myframe/index.php?XDEBUG%5FSESSION%5FSTART= ECLIPSE%5FDBGP&KEY=12569067976875,
> but myframe is in the frameworks folder, so I get a 404 error.
>
> When I check a breakpoint, uncheck Auto Generate, add frameworks before
> myframe in URL, set Start Debug from
> http://localhost/frameworks/myframe/accounts/create in Advanced and
> click Debug, the debugger doesn't stop at the breakpoint.
|
|
| | | | | |
Goto Forum:
Current Time: Tue Jul 15 11:09:33 EDT 2025
Powered by FUDForum. Page generated in 0.17426 seconds
|