search

Here is just the configuration

Configuration here/usr/local/etc/php/5.6/php.ini

Phpstorm settings for several ports

<code><span>Setting</span><span>Debug</span><span>9090</span><span>Setting</span> DBGp <span>9001</span>
Servers <span>80</span></code>

Here is the configuration I am using

<code>[Zend optimizer]
<span>;zend_extension=ZendGuardLoader.so</span><span>;zend_extension  = xdebug.so</span>
zend_loader<span>.enable</span>=<span>1</span>
zend_loader<span>.disable</span>_licensing=<span>0</span>
zend_loader<span>.obfuscation</span>_level_support=<span>3</span><span>;;zend_loader.license_path=</span>
xdebug<span>.remote</span>_host=localhost
xdebug<span>.remote</span>_port=<span>9090</span>
xdebug<span>.idekey</span>=<span>"chunlongyuan"</span>xdebug<span>.remote</span>_enable=on
<span>;xdebug.remote_handler = “dbgp”</span>
xdebug<span>.auto</span>_trace = <span>1</span>
xdebug<span>.collect</span>_includes = <span>1</span>
xdebug<span>.collect</span>_params = <span>1</span>
xdebug<span>.collect</span>_return = <span>1</span>
xdebug<span>.default</span>_enable = <span>1</span>
xdebug<span>.collect</span>_assignments = <span>1</span>
xdebug<span>.collect</span>_vars = <span>1</span>
xdebug<span>.remote</span>_autostart = <span>1</span>
xdebug<span>.remote</span>_connect_back = <span>1</span>
xdebug<span>.show</span>_local_vars = <span>1</span>
xdebug<span>.show</span>_exception_trace = <span>0</span></code>

Copyright Statement: This article is an original article by the blogger and may not be reproduced without the blogger's permission.

The above introduces the xdebug configuration of Mac, including the content. I hope it will be helpful to friends who are interested in PHP tutorials.

Statement
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
在生产服务器上启用XDebug会使PHP变慢吗?在生产服务器上启用XDebug会使PHP变慢吗?Sep 22, 2023 pm 10:41 PM

是的,像XDebug这样的调试器会降低PHP服务器的性能。这就是调试器不放置在服务器环境中的原因。它们部署在不同的环境中,以避免不必要的开销。调试消息无法在已处于生产阶段的应用程序中显示。当将调试行为添加到服务器上,调试引擎附加到PHP进程。它开始接收消息以在断点处停止,但这不是必需的行为,因为它会给其他进程带来高性能打击,从而停止PHP解析器。另一方面,当调试器安装后,它们往往会在服务器中打开端口,因为它们不打算在生产环境中使用。在服务器中打开端口就像为黑客打开一扇窥探之门一样糟糕。

如何在Zend框架中使用ACL(Access Control List)进行权限控制如何在Zend框架中使用ACL(Access Control List)进行权限控制Jul 29, 2023 am 09:24 AM

如何在Zend框架中使用ACL(AccessControlList)进行权限控制导言:在一个Web应用程序中,权限控制是至关重要的一项功能。它可以确保用户只能访问其有权访问的页面和功能,并防止未经授权的访问。Zend框架提供了一种方便的方法来实现权限控制,即使用ACL(AccessControlList)组件。本文将介绍如何在Zend框架中使用ACL

PHP实现框架:Zend Framework入门教程PHP实现框架:Zend Framework入门教程Jun 19, 2023 am 08:09 AM

PHP实现框架:ZendFramework入门教程ZendFramework是PHP开发的一种开源网站框架,目前由ZendTechnologies维护,ZendFramework采用了MVC设计模式,提供了一系列可重用的代码库,服务于实现Web2.0应用程序和Web服务。ZendFramework深受PHP开发者的欢迎和推崇,拥有广泛

PHP8.0中的调试库:XdebugPHP8.0中的调试库:XdebugMay 14, 2023 am 08:09 AM

在PHP开发中,调试是不可避免的部分。为了帮助开发者更易于调试自己的代码,PHP8.0在其调试库中引入了一个非常有用的工具:Xdebug。本文将介绍Xdebug的一些主要功能,以及如何使用它来简化PHP调试的过程。Xdebug是一款开源调试工具,可以在PHP应用程序中捕获错误,并提供详细的错误堆栈跟踪信息,以及正在使用的变量。它可以帮助开发人员检测和解决代码

在ThinkPHP6中使用Xdebug调试技术在ThinkPHP6中使用Xdebug调试技术Jun 20, 2023 pm 09:14 PM

ThinkPHP6是一个流行的PHP框架,它使用了多种技术让开发变得更加便利。其中一个技术是调试工具,如Xdebug。在这篇文章中,我们将探讨如何在ThinkPHP6中使用Xdebug进行调试。安装与配置Xdebug在开始使用Xdebug前,首先需要安装和启用它。在php.ini文件中,可以添加以下配置:[xdebug]zend_extension=x

PHP中的开发工具PHP中的开发工具May 23, 2023 am 08:18 AM

PHP是一种广泛应用于Web开发的编程语言。对于PHP的开发工具来说,选择一个合适的工具可以让开发者的工作变得更加高效和便捷。在本篇文章中,我们将探讨几种常见的PHP开发工具,包括集成开发环境(IDE)、文本编辑器以及调试工具等。一、集成开发环境(IDE)PhpStormPhpStorm是一款功能强大的PHP开发环境,由JetBrains开发。它不仅支持PH

git remote 命令详解git remote 命令详解Feb 19, 2024 am 11:30 AM

gitremote命令用于管理与远程仓库的连接,它可以列出、添加、重命名和删除与远程仓库的连接。以下是gitremote命令的详解:gitremote:不带任何参数直接运行gitremote,将会列出当前仓库中已经配置的远程仓库的简写名称列表。gitremote-v:显示当前仓库中已经配置的远程仓库的简写名称和对应的URL。gitremoteadd:将一个新的远程仓库添加到当前仓库中。是远程仓库的简写名称,是远程仓

PHP开发:使用 Xdebug 和 PHPUnit 断点调试和单元测试PHP开发:使用 Xdebug 和 PHPUnit 断点调试和单元测试Jun 15, 2023 pm 07:55 PM

PHP开发人员在开发过程中经常会遇到调试和测试问题。针对这些问题,我们可以使用一些工具来帮助我们更好地进行调试和测试。其中,Xdebug和PHPUnit就是PHP开发人员必不可少的两个工具。在本文中,我们将会介绍Xdebug和PHPUnit的基本用法,包括如何使用断点调试和单元测试。Xdebug,是PHP的一个调试器和分析器。通过X

See all articles

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 agoBy尊渡假赌尊渡假赌尊渡假赌
Repo: How To Revive Teammates
4 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
Hello Kitty Island Adventure: How To Get Giant Seeds
3 weeks agoBy尊渡假赌尊渡假赌尊渡假赌

Hot Tools

ZendStudio 13.5.1 Mac

ZendStudio 13.5.1 Mac

Powerful PHP integrated development environment

SAP NetWeaver Server Adapter for Eclipse

SAP NetWeaver Server Adapter for Eclipse

Integrate Eclipse with SAP NetWeaver application server.

EditPlus Chinese cracked version

EditPlus Chinese cracked version

Small size, syntax highlighting, does not support code prompt function

DVWA

DVWA

Damn Vulnerable Web App (DVWA) is a PHP/MySQL web application that is very vulnerable. Its main goals are to be an aid for security professionals to test their skills and tools in a legal environment, to help web developers better understand the process of securing web applications, and to help teachers/students teach/learn in a classroom environment Web application security. The goal of DVWA is to practice some of the most common web vulnerabilities through a simple and straightforward interface, with varying degrees of difficulty. Please note that this software

Atom editor mac version download

Atom editor mac version download

The most popular open source editor