How to disable browser tab opening when running project

Answered

I'm developing a set of services and would like to prevent PHPStorm from opening a browser tab whenever I run my application. Anyone know how to accomplish this?

0
7 comments
Avatar
Permanently deleted user

Hello,

How do you run your application exactly?

If you use Run configuration, what type of run configuration is that?

0

I use GAE (Google App Engine) so there is a run config for "App Engine for PHP"

0

Do you have Show This Page enabled in the Run configuration?

0

I do not, it is unchecked.

0

Allyn, unfortunately, I can't check it myself as for some reason App Engine just doesn't work for me, so could you please check if running the same command PhpStorm does (for me it's

"C:\Program Files\Python27\python.exe" "C:/Program Files (x86)/Google/google_appengine/dev_appserver.py" .

) does not open a tab in browser for you?

If it does not, it must be a bug. Please submit it to our issue tracker.
https://youtrack.jetbrains.com/newIssue?project=WI

0

Running that command with the proper yaml file starts the server up properly and the browser tab does not open.

0

A workaround that I found is to set PHPStorm's default browser (under Settings -> Tools -> Web Browsers) to "Custom Path" with value "cmd.exe". If I set it to "custom path" but leave the path empty I get a popup asking me to fix it when I start my app, so I needed a placeholder in there.

Not ideal, but it does the trick.

0

Please sign in to leave a comment.