PhpED + Debugger + XAMPP debugging skills

Source: Internet
Author: User
Overview: Runtime and other php run the installation package. If the runtime environment such as php.exe comes with phped, it means that we have to configure php. ini for it.

Overview: run the installation package locally using the xampp integrated software package Ghost and Other php. If the runtime environment such as php.exe comes with phped, it means that we have to configure php. ini for it.

Overview:

Run the installation package locally using php such as "xampp integration package" ghost.

If the runtime environment such as php.exe comes with phped, it means we have to reset its php. ini, that is, it is no longer an environment parameter configured in the "xampp integration package.

If you direct the php runtime environment that comes with PhpED to the previously configured "xampp integrated software package", the problem will be solved ~~~ Shows the adjustment:

<1> set "Tools --> Settings --> Run & Debug", as shown in the following figure:

1. set the browser to an external firefox browser of PhpED

2. change the php runtime environment of PhpED to xampp.

<2> set the breakpoint and click the debug button on the toolbar to perform debugging.


<3>. the preceding debugging method is "local debugging". what should I do if I want to perform "remote debugging" through a URL? As follows:


For "local debugging", you can also "add parameters", such as debugging local programs: index. php? M = test & c = main & a = index. The operation is as follows:

1. Open the "Run --> Parameters" pop-up box and set the Parameters:


2. activate the "index. php" file window and click "Run in debugger" to debug local parameters.

<4>. during debugging, I chose the default "HTTP mode (SRV local WEB server)", that is, the virtual machine that comes with phped, as shown in (right-click the project --> Select "Properties "):

Of course, you can also use the "third-party web Server". refer to the settings below:

<5>. by default, phped debugs the currently activated window file, as shown in. after I click "debug button", the "456. php" page is debugged.

You can also set debugging settings for the project so that the start page of each debugging is the same (rather than the current activation window page). The settings are as follows:

Appendix:Debugger debugging of phped. a solution that displays garbled characters when the variable value is Chinese

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.