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.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>Read The Manuals Apache --
MySQL --
PHP --
phpMyAdminGet 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-