2. In PHPStorm-> ;Preferences->Languages & Frameworks->PHP The arrow points to the configuration
selection, select from vagrant
![1642670908627307.png Vagrant+PHPStorm implements XDebug breakpoint debugging](https://img.php.cn/upload/image/591/372/321/1642670908627307.png)
# #Configuration is as follows: ![1642670917284580.png Vagrant+PHPStorm implements XDebug breakpoint debugging](https://img.php.cn/upload/image/567/536/336/1642670917284580.png)
## Set in PHP->Debug->DBGp Proxy as follows
Set the port in PHP->Debug![1642670927629399.png Vagrant+PHPStorm implements XDebug breakpoint debugging](https://img.php.cn/upload/image/332/798/632/1642670927629399.png)
##Set the mapping path in PHP->Servers
![1642670932542248.png Vagrant+PHPStorm implements XDebug breakpoint debugging](https://img.php.cn/upload/image/453/618/241/1642670932542248.png)
3. Download Xdebug helper from google and configure
![1642670937925788.png Vagrant+PHPStorm implements XDebug breakpoint debugging](https://img.php.cn/upload/image/565/927/316/1642670937925788.png)
Note: If breakpoints are not available, it means that Xdebug and php versions do not correspond. You can set 20-xdebug.ini of other php versions.
The above is the detailed content of Vagrant+PHPStorm implements XDebug breakpoint debugging. For more information, please follow other related articles on the PHP Chinese website!