Home Backend Development PHP Tutorial php xdebug的配置有关问题

php xdebug的配置有关问题

Jun 13, 2016 pm 01:25 PM
enable on remote xdebug

php xdebug的配置问题

  [Xdebug]
    zend_extension_ts="C:/php_xdebug.dll"
  xdebug.profiler_enable=on
    xdebug.profiler_output_dir="E:/xdebug/"
  xdebug.remote_enable=on
    xdebug.default_enable=on
    xdebug.collect_return=on
    xdebug.auto_trace=on
    xdebug.remote_autostart=on
  ;xdebug.remote_handler=dbgp 
  xdebug.remote_host=localhost 
  xdebug.remote_port=9090
    xdebug.collect_params = 1
    xdebug.trace_output_dir="E:/xdebug/"
Copy after login

?

配置时注意事项:

1.关闭zend以及其他加速器;

2.注意选择nts版或者ts版,这个主要是php配置中的线程安全一项 Thread Safety

3.如果是用的iis,需要重启iis服务,而不是使用iisreset命令.

4.文章原创自小桔灯分类信息网 http://www.xiaojudeng.com/ 转载请注明出处.

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
2 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
Repo: How To Revive Teammates
1 months ago By 尊渡假赌尊渡假赌尊渡假赌
Hello Kitty Island Adventure: How To Get Giant Seeds
4 weeks ago By 尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

What does enable mean in computer What does enable mean in computer Aug 30, 2023 pm 01:55 PM

In computers, enable refers to enabling or activating a certain function or option. In the computer field, enable is usually used to describe the process of enabling a certain function or option in software or hardware. Detailed introduction: 1. In terms of software, enable usually refers to enabling a certain function in an application or operating system; 2. In terms of hardware, enable usually refers to enabling a certain device or interface in a computer system.

Will enabling XDebug on a production server make PHP slower? Will enabling XDebug on a production server make PHP slower? Sep 22, 2023 pm 10:41 PM

Yes, debuggers like XDebug can slow down PHP server performance. This is why the debugger is not placed in a server environment. They are deployed in different environments to avoid unnecessary overhead. Debug messages cannot be displayed in applications that are already in production. When debugging behavior is added to the server, the debugging engine is attached to the PHP process. It starts receiving messages to stop at the breakpoint, but this is not required behavior as it would give a performance hit to other processes, thus stopping the PHP parser. On the other hand, when debuggers are installed, they tend to open ports in the server because they are not intended for use in a production environment. Opening a port in your server is just as bad as opening a door for hackers to snoop through.

Ubuntu system uses vsftpd to build FTP server. Ubuntu system uses vsftpd to build FTP server. Feb 18, 2024 pm 05:50 PM

To use vsftpd to build an FTP server on an Ubuntu system, you can follow the steps below: Install vsftpd: Open a terminal and execute the following command to install vsftpd: sudoaptupdatesudoaptinstallvsftpd Configure vsftpd: Use a text editor (such as nano or vi) to open the configuration of vsftpd File: sudonano/etc/vsftpd.conf In the configuration file you can make the following changes or add as needed: Enable anonymous access (if needed): anonymous_enable=YES Disable anonymous upload (if needed): anon_upload

Debugging library in PHP8.0: Xdebug Debugging library in PHP8.0: Xdebug May 14, 2023 am 08:09 AM

Debugging is an inevitable part of PHP development. In order to help developers debug their own code more easily, PHP8.0 introduced a very useful tool in its debugging library: Xdebug. This article will introduce some of the main features of Xdebug and how to use it to simplify the process of PHP debugging. Xdebug is an open source debugging tool that can capture errors in PHP applications and provide detailed error stack trace information, as well as the variables being used. It helps developers detect and troubleshoot code

Using Xdebug debugging technology in ThinkPHP6 Using Xdebug debugging technology in ThinkPHP6 Jun 20, 2023 pm 09:14 PM

ThinkPHP6 is a popular PHP framework that uses a variety of technologies to make development more convenient. One such technology is debugging tools such as Xdebug. In this article, we will explore how to use Xdebug for debugging in ThinkPHP6. Install and configure Xdebug Before you start using Xdebug, you first need to install and enable it. In the php.ini file, you can add the following configuration: [xdebug]zend_extension=x

Development tools in PHP Development tools in PHP May 23, 2023 am 08:18 AM

PHP is a programming language widely used in web development. For PHP development tools, choosing a suitable tool can make the developer's work more efficient and convenient. In this article, we will discuss several common PHP development tools, including integrated development environments (IDEs), text editors, and debugging tools. 1. Integrated development environment (IDE) PhpStorm PhpStorm is a powerful PHP development environment developed by JetBrains. It not only supports PH

Detailed explanation of git remote command Detailed explanation of git remote command Feb 19, 2024 am 11:30 AM

The gitremote command is used to manage connections to remote repositories. It can list, add, rename, and delete connections to remote repositories. The following is a detailed explanation of the gitremote command: gitremote: Running gitremote directly without any parameters will list a list of abbreviated names of remote warehouses configured in the current warehouse. gitremote-v: Displays the abbreviated name and corresponding URL of the remote warehouse configured in the current warehouse. gitremoteadd: Add a new remote warehouse to the current warehouse. Is the abbreviation name of the remote warehouse, which is the remote warehouse

PHP development: Breakpoint debugging and unit testing using Xdebug and PHPUnit PHP development: Breakpoint debugging and unit testing using Xdebug and PHPUnit Jun 15, 2023 pm 07:55 PM

PHP developers often encounter debugging and testing issues during the development process. To address these issues, we can use some tools to help us better debug and test. Among them, Xdebug and PHPUnit are two essential tools for PHP developers. In this article, we will introduce the basic usage of Xdebug and PHPUnit, including how to use breakpoint debugging and unit testing. Xdebug is a debugger and analyzer for PHP. byX

See all articles