Phpstorm Wamp



Yes thats what XDEBUG does for you. But you are debugging as you say the PHP code and not the Apache or MySQL.
WAMP comes with XDEBUG installed and configured in the php.ini
All you need to do is tell PHPStorm its there to use it. I dont use phpstorm but it works great with Eclipse PDT so I dont see why it should not work with PHPStorm.
You set a breakpoint and then run in debug mode and you can set through your php code and view variable etc just like you would in any other IDE debug system
I am not quite sure what you are asking here,
---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.2.4 32bit & 64bit)
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

Read The ManualsApache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Phpstorm Wampserver 配置

Phpstorm WampPhpstorm Wamp

Phpstorm Xdebug Wamp

  1. PHPStorm comes with a handy Debug configuration called “PHP Web Site”, which was called “PHP Application” on older versions. When properly run, it will create a debug session in the browser.
  2. WAMP, is a compilation of Apache web server, PHP and MySQL bundled for Windows computers. All of them are separate open source software. However, installing them separately is not quite easy even for experienced users. Software like WAMP allow you to easily install them and have a working local environment within minutes.
  3. I tried setting the mapping to C: wamp www HelloWorld (i hope this is what you meant) What's exactly what I meant. Please try with firewall disabled - it's possible that PhpStorm is blocked from accepting incoming xdebug connections. Please also check that xdebug ports are the same in PhpStorm & xdebug config in php.ini.

PhpStorm will now use the PHP installation that was bundled with MAMP. Integrating the debugger. PhpStorm offers a powerful debugger in which breakpoints can be set and variables can be inspected at runtime. For more information on using PhpStorm's debugger, explore Debug with PhpStorm: Ultimate Guide.

Like many developers, I write code on my local machine. WAMP is my tool of choice as the majority of my projects are PHP based. Certain situations require me to run PHP tasks from the Windows command prompt (ie: reindexing Magento databases). In order to run PHP from the command prompt in Windows, you need to tell Windows where PHP is located by adding its location to your Windows Path variable. Let’s do it.

Phpstorm Wamp

Windows Xampp Phpstorm

  1. Click the Start menu orb and go to Computer.

  2. In the Computer window click the System properties button on navigation bar.

  3. In the System properties window click the Advanced system settings link.

  4. In the Advanced system settings window click the Environment Variables… button.

  5. In the Environment Variables window select the path in the user variables section and click the Edit… button.

  6. In the Edit User Variable window place your cursor at the end of the contents within the Variable value: input and add the location of PHP to that string. In a typical WAMP installation, PHP is located in C:wampbinphpphp.#.#.# where #.#.# corresponds to the version of PHP that you are running.

    Note: locations are separated by semicolons. So, make sure there is a semicolon before you define the location of PHP in the variable value.

  7. After you have entered the location of PHP, click the OK button and restart your command prompt. Congrats, you can now run PHP from the Windows command prompt!