Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to stop Netbeans opening my index on run?

When I run my project in Netbeans 6.8, it loves to open the index page automatically. It's annoying because I always keep a tab with the page I'm working on when I work, so I don't need this index page. It also makes my current page lose focus.

I have tried not specifying an index or my project URL, but then I can't run or save my project.

How can I prevent it from doing so?

like image 206
Jared Avatar asked Dec 05 '25 23:12

Jared


2 Answers

In NetBeans 7.4:

  • Right-click your project, select 'Properties'
  • In left hand pane of popup, select 'Run Configuration'
  • In the right pane of the popup, in the bottom right corner of the list of fields, click 'Advanced...'
  • Select radio button 'Do Not Open Web Browser'
like image 171
siliconrockstar Avatar answered Dec 08 '25 14:12

siliconrockstar


I ran into that issue as well. The solution is quite simple - go to the menu bar:

Run/Run File.

That's it. It will just run the current php script without going to the index.php.

like image 22
netrox Avatar answered Dec 08 '25 14:12

netrox



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!