phpstorm cannot call chrome file

After installing phpstorm, enter a few simple lines of code, but report an error after running
insert image description here

Solution

1. Right click on Google Chrome - Properties - Shortcut - Target
insert image description here

Copy the path (that is, the path to the .exe file of the chrome browser, which is the path to chrome.exe, which is not required later)
2. Open phpstorm——settings——tools——web browsers
insert image description here
to find the path column in the third column of chrome, and change the replace the path
insert image description here

Click on the blank space, and then click OK to save.
At this time, you can open it with chrome.

Guess you like

Origin blog.csdn.net/weixin_45664911/article/details/106007890