PHPStorm editor debugging (including using postman and soapUI) and phpstormsoapui

Source: Internet
Author: User
Tags soapui netbeans

PHPStorm editor debugging (including using postman and soapUI) and phpstormsoapui

Many people need breakpoint debugging during development, but many people have configured a lot and still cannot debug it. In fact, it does not need to be so troublesome.

Note: you do not need to perform any configuration for the debug configuration of the PHPStorm editor. The default configuration is good.

In essence, when debugging a breakpoint, you only need to input certain parameters to debug the breakpoint.

Take PHPStorm for example:

1. Check that debug is enabled in php. ini and basic configuration is available (if not, add it yourself). No matter what tool debugging, You need to configure

2. Then download an Xdebug helper extension (to connect to a VPN) in Google's browser. The main purpose of this extension is to input relevant parameters.

Click the option to set it to PHPSTORM and click save.
Then, you can open it here every time you use it.

In essence, PHPStorm is used for development. Therefore, the input parameter is XDEBUG_SESSION_START = PHPSTORM.

Therefore, if you do not install the xdebug extension, you can splice the get or post parameters after the request URL. For example:

www.demo.com?XDEBUG_SESSION_START=PHPSTORM

Therefore, when PHPStorm is used for development, it is the same when using postman or soapUI for breakpoint debugging:

Postman breakpoint debugging:

SoapUI breakpoint debuggingRefer to this article: http://www.cnblogs.com/Steven-shi/p/8258191.html

When debugging, remember to turn on the editor debugging switch.

 

Extension:

The Eclipse parameter is: XDEBUG_ECLIPSE

The Netbeans parameter is: netbeans-xdebug

 

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.