After entering the first helloworld, when I clicked the chrome icon in great anticipation to see the results displayed in the browser, I found this error:
Related recommendations: "PhpStorm Usage Tutorial"
The solution is as follows:
1. Right-click the chrome browser icon on the desktop , find Properties-->Shortcut-->Target, copy the path (that is, the path of the chrome browser .exe file).
2. Open the phpstorm software, find file-->settings--> enter in the search bar, Web Browsers:
3. Enter the .exe path you just copied in the path on the rightmost side of the chrome column:
Note: After entering the path, enter the blank Click here to avoid the path not being entered.
4. Click OK, then click the chrome button again, and you can see our HelloWorld displayed on the web page!
The above is the detailed content of What should I do if phpstorm cannot open Google Chrome?. For more information, please follow other related articles on the PHP Chinese website!