PHPStorm 配置 xdebug

下面的配置是 > 3.0 的

  1. zend_extension=xdebug.so
  2. xdebug.mode = debug
  3. xdebug.start_with_request = yes
  4. xdebug.discover_client_host = true
  5. xdebug.client_host = 192.168.10.1
  6. xdebug.client_port = 9003
  7. xdebug.max_nesting_level = 512
  8. xdebug.idekey = PHPSTORM

每个请求都带上 XDEBUG_SESSION_START=PHPSTORM
PHPSTORM 对应的是 xdebug.idekey = PHPSTORM