As a memo.
Download Xdebug installed. Pay attention to the wording in php.ini.
Check the error log of PHP for some questions.
If the following prompts appear
PHP Warning:xdebug must is loaded as a Zend extension in Unknown on line 0
Note This line first,
; Extension=php_xdebug.dll
Add this line,
Zend_extension_ts= "X:/php/ext/php_xdebug.dll"
Another: According to the PHP version, the zend_extension directive can be one of the following:
Zend_extension (non zts, non debug build)
Zend_extension_ts (ZTS, non debug build)
Zend_extension_debug (non zts, debug build)
Zend_extension_debug_ts (ZTS, debug build)
Zts:zend Thread Safety
You can see if ZTS is enabled by Phpinfo () to determine whether to use Zend_extension or zend_extension_ts.
Also note that you are downloading the xdebug.
The following is a description found on the Internet, not knowing whether the explanation is right.
Extension is an extension based on the PHP engine
Zend_extension means an extension based on the Zend engine
Note: PHP is based on the Zend engine. Dizzy.
After different extensions are installed, extension or zend_extension are used in php.ini, depending on the extension, some extensions may only be zend_extension, such as xdebug, and some extensions can be extension or zend_ Extension, such as MMCache.
Different PHP installation modes to determine whether the ZTS is enabled. (This sentence does not know whether it is correct)
Note: The above conclusions do not guarantee accuracy. Zend_extension the full path is required to load the PHP extension, and extension can be loaded with a relatively extension_dir path.
Attention:
Eclipse's debugging of thinkphp is the same as the debugging method for normal PHP. O (∩_∩) o~