If you want the debugger to initialize a session when an error occurs (php error or exception), you need to modify xdebug.remote_modeConfiguration. These configurations include xdebug.remote_enableUsed to allow the debugger, xdebug.remote_hostAnd xdebug.remote_portSpecify the IP address and port number that the debugger should connect. To enable the Xdebug debugger, you must php.iniFile. Xdebug1.3 also comes with a simple command line client based on the GDB protocol. XDebugClient-Standalone Windows client.Php (MS Visual Studio Plugin Commercial ). VIM plugin (Tutorial) (Editor Plugin ).Xored's TrueStudio IDE (IDE trusted cial ).MP Software's phpDesigner (IDE: Windows, Commercial ).Anchor System's Peggy (IDE: Windows, Japanese Commercial ).WaterProof's PHPEdit (IDE, from version 2.10: Windows Commercial ).NetBeans (IDE: Windows, Linux, Mac OS X and Solaris.ActiveState's Komodo (IDE: Windows, Linux, Mac Commercial ).Eclipse plugin, which has been submitted as an enhancement for the PDT (IDE ).I am not the author of these clients, so please go to the author's website for help. Of course, there are also some other client implementations (free and commercial ). Xdebug2 provides a simple command line-based client for the DBGp protocol. Xdebug provides two protocols for interaction: the old one in Xdebug1.3 and 2 GDB ProtocolAnd implemented in Xdebug2 DBGp Protocol. The Xdebug (remote) debugger allows you to test the data structure, step by step, and debug your code. ![]() ![]() This chapter describes how to enable this feature for PHP and Xdebug, and describes some common clients. Xdebug provides interfaces for interaction between clients and PHP scripts. Next I will introduce Xdebug for remote error debugging. I can use Xdebug to debug the php page program and report an error.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |