fine
fine

Reputation: 98

Webstorm doesn't debug .php files in Chrome

When I click "debugging"

Webstorm debugging button

in Firefox I get the result page in html, that I can inspect:

Debugging PHP file in Firefox

But in Chrome I just get PHP source code: Debugging PHP file in Chrome

What is the problem? Has anyone come across?

Upvotes: 4

Views: 181

Answers (1)

Madbreaks
Madbreaks

Reputation: 19539

You're accessing the file directly on disk. Try accessing it through your webserver (in other words, serve the page as HTML).

Upvotes: 4

Related Questions