Instead, Chrome opens. I have tried: (1) Setting up the option of 'System default' (Tools Web Browsers Default Browser) (2) Setting up the default browser using a custom path to Edge executable (Tools Web Browsers Default Browser). PHPStorm, Xdebug and Google Chrome debugging. Ask Question Asked 5 years, 11 months ago. Active 4 years, 10 months ago. Viewed 11k times 11. I spent all day on this and still cannot get the debugger to work in PHPStorm with Google Chrome. These are the steps I took insofar: 1) Locate xdebug extension after installation.
Live Edit Phpstorm Chrome
PhpStorm is shipped with a predefined list of most popular browsers that you may install and launch automatically from the IDE during running, debugging, or previewing the output of an HTML file. PhpStorm presumes that you install browsers according to a standard procedure and assigns each installation an alias which stands for the default path to the browser's executable file or macOS application. In addition to the browsers from the default list, you can configure custom browser installations.
PhpStorm has a built-in web server that can be used to preview and debug your application. This server is always running and does not require any manual configuration. All the project files are served on the built-in server with the root URL http://localhost:<built-in server port>/<project root>, with respect to the project structure. See Built-in web server for details.
Open a file in a web browser
To open a file that is intended to be rendered by a web browser (HTML, XML, JSP, and so on), do one of the following:
Press Alt+F2.
Right-click a file and select Open in Browser.
From the main menu, select View | Open in Browser.
Use the browser popup in the top right part of the editor window. Click the browser button to open the web server file URL, or Shift+Click it to open the local file URL.
The Open in Browser action is not available for other file types. However, you can still execute it using Find ActionCtrl+Shift+A.
By default, PhpStorm supports some of the most popular browsers, which are configured automatically, if available:
Chrome
Firefox
Safari
Opera
Internet Explorer
Edge
View and configure the list of browsers
In the Settings/Preferences dialog Ctrl+Alt+S, select Tools | Web Browsers.
If a browser was installed using a standard procedure, the alias in the Path field should point to the right location. If it does not, specify the path to the corresponding executable file.
The order of browsers in the list corresponds to their order in the popup, context menu, and the View menu. If you disable a browser, it will not appear in the popup, context menu, and the View menu.
Phpstorm Xdebug Chrome Not Working
Add a custom browser
In the Settings/Preferences dialog Ctrl+Alt+S, select Tools | Web Browsers.
Click and specify the browser name, family, and location of the executable file or macOS application.
Select a default browser
The Open in Browser item in the View menu and in the context menu of a file lists all available browsers and the default browser, which is also used to render external resources.
In the Settings/Preferences dialog Ctrl+Alt+S, select Tools | Web Browsers.
From the Default Browser list, choose one of the following:
System default: use the default browser for your operating system.
First listed: use the first browser in the list.
Custom path: use a browser that is not in the list. Specify the location of the executable file.
Use custom profile and settings
You can configure custom profiles for Firefox and Chrome family browsers.
Phpstorm Chromebook
In the Settings/Preferences dialog Ctrl+Alt+S, select Tools | Web Browsers.
Select the browser in the list and click .
For Firefox, specify the path to the profiles.ini file and choose the profile to use. For more information, see Firefox browser profile.
For Chrome, select Use custom user data directory and specify the location of the user data directory.
You can also specify additional command-line options to use when running Chrome from PhpStorm. For more information, open
chrome://flags
in the Chrome address bar.