Php 代码点火器+;XDebug:debug仅在主控制器index()函数中工作

Php 代码点火器+;XDebug:debug仅在主控制器index()函数中工作,php,.htaccess,codeigniter,Php,.htaccess,Codeigniter,我正在使用NetBeans+XDebug进行CodeIgniter项目。我无法调试索引页以外的URL。也就是说,当调用默认控制器和index()函数时,XDebug工作正常。 例如。: 或者 它不适用于其他URL,例如: 这是我的配置: .htaccess <IfModule mod_headers.c> Header set X-UA-Compatible "IE=edge,chrome=1" <FilesMatch "\.(mp4|webm|ogv|woff)$">

我正在使用NetBeans+XDebug进行CodeIgniter项目。我无法调试索引页以外的URL。也就是说,当调用默认控制器和index()函数时,XDebug工作正常。 例如。: 或者

它不适用于其他URL,例如:

这是我的配置: .htaccess

<IfModule mod_headers.c>
Header set X-UA-Compatible "IE=edge,chrome=1"
<FilesMatch "\.(mp4|webm|ogv|woff)$">
    Header unset X-UA-Compatible
</FilesMatch>
</IfModule>
<IfModule mod_rewrite.c>
    Options +FollowSymLinks
    RewriteEngine On
    RewriteBase /my_site/

#www redirection
    RewriteCond %{HTTP_HOST} ^(index\.php|images|css|js|robots\.txt) [NC]
    RewriteRule (.*)$ index.php/$1 [L,R=301]

#Removes access to the system folder by users.
    RewriteCond %{REQUEST_URI} ^system.*
    RewriteRule ^(.*)$ /index.php?/$1 [L]

#Rename 'application' to your applications folder name.
    RewriteCond %{REQUEST_URI} ^application.*
    RewriteRule ^(.*)$ /index.php?/$1 [L]

#Checks to see if the user is attempting to access a valid file,
#such as an image or css document, if this isn't true it sends the
#request to index.php
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.*)$ index.php?/$1 [L]
</IfModule>
<IfModule !mod_rewrite.c>
    ErrorDocument 404 /index.php
</IfModule>
在php.ini中:

zend_extension = c:\wamp\bin\php\php5.5.12\ext\php_xdebug-2.3.2-5.5-vc11-x86_64.dll
xdebug.remote_handler="dbgp"
xdebug.remote_enable=on
xdebug.remote_host="localhost"
xdebug.remote_port=9000
xdebug.remote_enable = 1
xdebug.remote_autostart = 1

xdebug.profiler_enable = off
xdebug.profiler_enable_trigger = off
xdebug.profiler_output_name = cachegrind.out.%t.%p
xdebug.profiler_output_dir = "c:/wamp/tmp"
xdebug.show_local_vars=0
我一直在尝试使用在其他帖子中看到的技巧,但我肯定错过了一些东西。任何帮助都将不胜感激

zend_extension = c:\wamp\bin\php\php5.5.12\ext\php_xdebug-2.3.2-5.5-vc11-x86_64.dll
xdebug.remote_handler="dbgp"
xdebug.remote_enable=on
xdebug.remote_host="localhost"
xdebug.remote_port=9000
xdebug.remote_enable = 1
xdebug.remote_autostart = 1

xdebug.profiler_enable = off
xdebug.profiler_enable_trigger = off
xdebug.profiler_output_name = cachegrind.out.%t.%p
xdebug.profiler_output_dir = "c:/wamp/tmp"
xdebug.show_local_vars=0