This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 250799 - Debug project opens new instance of firefox
Summary: Debug project opens new instance of firefox
Status: RESOLVED WORKSFORME
Alias: None
Product: php
Classification: Unclassified
Component: Debugger (show other bugs)
Version: 8.1
Hardware: PC Linux
: P3 normal (vote)
Assignee: Tomas Mysik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-01 16:49 UTC by waldermort
Modified: 2015-09-08 09:55 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description waldermort 2015-03-01 16:49:49 UTC
A recent Firefox update (36.0) on Ubuntu has broken the debugging of projects.

Previously, clicking 'debug project' in a php project would open a new tab in an existing Firefox instance, complete with url and the xdebug session parameter. Since the Firefox update, a new instance of Firefox is opened without the url or xdebug parameters (the Firefox start page is opened). Also, the IDE states that it is waiting for a connection.

To confirm it is not my machine, I did a complete reinstall of Firefox including all plugins and updated to the nightly netbeans build. 

I'm not sure if it's a problem with netbeans or Firefox. But I guess the Firefox API may have changed.

A workaround is to use the chrome browser. Personally I don't think it's suitable for development (lacks the firebug plugin).
Comment 1 waldermort 2015-03-01 16:56:44 UTC
Forgot to mention, adding the xdebug parameter to the page url will allow netbeans to connect (as another workaround).

ie. http://example.dev/?XDEBUG_SESSION_START=netbeans-xdebug
Comment 2 Tomas Mysik 2015-09-08 09:55:26 UTC
This is weird. I cannot reproduce your issue so please verify how Firefox is configured in your IDE Options - see issue #255067 for more information (shortly: no "-remote" parameter should be now present for Firefox command).

Thanks.

Product Version: NetBeans IDE Dev (Build 20150908-4ceab7e9459f)
Java: 1.7.0_80; Java HotSpot(TM) 64-Bit Server VM 24.80-b11
Runtime: Java(TM) SE Runtime Environment 1.7.0_80-b15
System: Linux version 3.19.0-26-generic running on amd64; UTF-8; cs_CZ (nb)