'Socket connection error' when debugging PHP/JS on Aptana 3

Roronoa Zoro picture Roronoa Zoro · Jul 18, 2012 · Viewed 9.8k times · Source

I'm having a problem debugging PHP with JS code through Aptana Studio. Although there were a few people that are having similar problems. I still couldn't figure out the solution.

Aptana Studio Version is 3, build 3.1.3.2

I have MAMP installed on my Mac and I was able to run (not debug) my PHP website from Aptana (I needed to change the Server to 'Use base URL: http://localhost' for my website to run)

I have installed Aptana Debugger 1.7.2 and Firebug 1.10.0 on my Firefox 14.0.1

However, when I try and debug my website, I get a window that says:

Aptana Firefox extension launching...please wait.

Then (after few seconds) I get the error message:

'Launching Firefox - Internal Server' has encountered a problem. Socket connection error. Please try shutting down and restarting your web browser, and then run 'debug' again'

I restarted my firefox but no dice.

Answer

Peter Tseng picture Peter Tseng · Aug 27, 2012

Remove Firebug before starting the Aptana debugger. Aptana will install both the Aptana Debugger and Firebug 1.8.3 for you.

To make sure Firebug doesn't update to 1.10, go to "Tools > Add-ons > Firebug 1.8.3 > More", and turn off automatic updates.