This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | PHP Debugger doesn't work with mod_rewrite | ||
---|---|---|---|
Product: | php | Reporter: | mteryk <mteryk> |
Component: | Debugger | Assignee: | Ondrej Brejla <obrejla> |
Status: | NEW --- | ||
Severity: | blocker | ||
Priority: | P2 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | ENHANCEMENT | Exception Reporter: | |
Bug Depends on: | |||
Bug Blocks: | 140918 |
Description
mteryk
2008-11-04 07:56:33 UTC
I have to extend this issue: Websites that make heavy use of Mod Rewrite with non-existing subfolders cannot be debugged at all, since in the Project "Run" Settings you can only specify an "Index File" that is existant. It would probably help if the specified index file and the opened url for the browser could be different (although this is possible by changing the global browser arguments, which is rather hackish and not cross project compatible). In my opinion this has a higher priority than P3, because all frameworks with mvc use htaccess rewriting nowadays and many other projects do so too (wordpress, typo3 for example) and its not really possible to work around this. OK, thanks, so let's make it P2 Shouldn't this bug be marked as P1 as it blocks 140918 which is P1? Quality Engineering: no, this isn't P1 at all, P2 is ok for this bug. Btw., #140918 is P1 enhancement not P1 defect - and that's kinda difference. batch reassigning Just a quick comment. You can easily debug PHP that requires mod_reqrite (for example Zend Framework) you just need to set the project debug settings to 'Do Not Open Web Browser', then install an Xdebug plugin into your browser (e.g. 'Xdebug helper' for chrome). Press 'Debug Main Project' then start the Xdebug plugin in the browser, refresh the page you are on. This works fine. I realise this is a bit of a ramble, but seeing as mod_rewrite is used in almost all PHP frameworks I think bundling an Xdebug plugin with Netbeans would be a great idea. That is, it solves this bug. Or maybe the documentation needs updating? |