phpstorm
Methods/steps
1. Find "Built-in Server Port" under "Preferences" and "Debugger" in the menu bar to change the port number, but this change will be problematic. Manually entered port numbers will not be accepted by the system, which will cause great inconvenience.
2. By modifying the local configuration file of phpstorm, the same effect can be achieved, and you can enter the port number at will.
First, we need to enter the mac configuration file path of phpstorm:
/Users/admin/Library/Preferences/webid 90/options
(Open the Finder and use the shortcut key command+shift+g, and the folder will appear. Just press Enter to enter the path. )
Look for the configuration file "other.xml". The file content of "other.xml" is as follows:
Change the phpstorm configuration file to the following: