PHP debugging: VIM + xdebug + dbgp

Source: Internet
Author: User

Indeed, VIM is powerful.

PHP debugging Technical Manual-by heiyeluren, laruence

Xdebug PHP debugging configuration considerations-by will be collected by students

Note:

Error: "dbgprotocol instance has no attribute 'stop '"

Solution 1: xdebug_remote. * The configuration is incorrect.

Solution 2: When you open the webpage XXX. php, you forget to add xdebug_session_start = 1.

Solution 3: The page is not refreshed in time

Solution 4: The listening port configurations in debuger. vim and PHP. ini are inconsistent.

Solution 5: the link to the dbgp version may be too old with a bug, the latest version of dbgp: http://www.vim.org/scripts/script.php? Script_id = 1, 4009

Error: connect timeout error may be caused by SELinux. For more information, see "xdebug PHP debugging configuration considerations"

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.