There is a bunch of NetBeans + XDebug + Open Server.

In php files called directly (index.php) or from php, the debugger stops at breakpoints. If php is invoked via jquery, the debugger does not stop at breakpoints. Here is the php.ini :

[Xdebug] zend_extension="%sprogdir%/modules/php/%phpdriver%/ext/php_xdebug.dll" xdebug.remote_enable = 1 xdebug.remote_handler = "dbgp" xdebug.remote_host = "localhost" xdebug.remote_log = "var/log/xdebug.log" xdebug.remote_mode = "req" xdebug.remote_port = 9000 

How to make the debugger stop at php caused by jQuery?

  • php caused by jQuery? what does it mean? - Umer
  • HTML: <input type = "button" value = "LOG IN" id = "login-submit" /> JS: $ ('# login-submit'). Click (function () {$ .ajax ({type: 'POST ', url:' /PhpForAJAX/login.php ', success: function (data) {alert (data)}})}) So, the breakpoint in /PhpForAJAX/login.php doesn’t stop Netbeans, how to stop? - Alexander Gerasimov
  • Here is the report from xdebug.org: Xdebug installed: 2.4.0 Server API: Apache 2.0 Handler Windows: yes - Compiler: MS VC11 - Architecture: x86 Zend Server: no PHP Version: 5.6.12 Zend API nr: 220131226 PHP API nr: 20131226 Debug Build: no Thread Safe Build: yes Configuration File Path: C: \ Windows Configuration File: D: \ OpenServer \ modules \ php \ PHP-5.6 \ php.ini Extensions directory: d: \ openserver \ modules \ php \ PHP -5.6 \ ext - Alexander Gerasimov

0