Closed WISTFUL12 closed 7 years ago
I am using xampp 5.6.31-0-VC11 and want to debug wordpress plugins, But when I reload browser, php-debug start debugging from wordpress core instead my selected breakpoint in the plugin.
My php-debug config:
"php-debug": AutoExpandLocals: true DebugXDebugMessages: true PathMaps: [ "C:\\xampp\\htdocs\\myproject;C:\\xampp\\htdocs\\myproject" ] SteppingFilter: "C:\\xampp\\htdocs\\myproject\\wp-content\\plugins\\myplugin\\**" currentConsoleHeight: "201px" currentPanelHeight: "276px" currentPanelMode: "bottom"
My Xampp php.ini
[XDebug] zend_extension = C:\xampp\php\ext\php_xdebug-2.5.4-5.6-vc11.dll xdebug.remote_autostart = 1 xdebug.profiler_append = 0 xdebug.profiler_enable = 0 xdebug.profiler_enable_trigger = 0 xdebug.profiler_output_dir = "c:\xampp\tmp" ; xdebug.profiler_output_name = "cachegrind.out.%t-%s" xdebug.remote_enable = 1 xdebug.remote_handler = "dbgp" xdebug.remote_host = "127.0.0.1" xdebug.remote_log="c:\xampp\tmp\xdebug.txt" xdebug.remote_port = 9000 xdebug.trace_output_dir = "c:\xampp\tmp" ; 3600 (1 hour), 36000 = 10h ; xdebug.remote_cookie_expire_time = 36000 ; xdebug.idekey = xdebug.atom
This issue solved in https://github.com/gwomacks/php-debug/issues/180
I am using xampp 5.6.31-0-VC11 and want to debug wordpress plugins, But when I reload browser, php-debug start debugging from wordpress core instead my selected breakpoint in the plugin.
My php-debug config:
My Xampp php.ini