Solved

Looking for reliable PHP IDE with PHP and JavaScript debugger

Posted on 2014-09-07
10
284 Views
Last Modified: 2014-09-23
This has been a frustrating experience for me. I have tried Aptana Studio 3, but it has issues where it doesn't seem to recognize any PHP code at all and just displays PHP code on the web page. So I dropped that.

I've already tried Netbeans 8.0, and I really liked it. The problem is console.log just wouldn't work in JavaScript anymore for some reason. When I google search, some other people encountered the same problem, but no solutions.

So I would greatly appreciate suggestions for a good PHP IDE that provides robust debuggers for PHP and JavaScript. Please do not answer unless you're using it yourself and is pretty pleased with it.

Thanks.
0
Comment
Question by:elepil
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
  • 2
  • +2
10 Comments
 
LVL 29

Assisted Solution

by:chilternPC
chilternPC earned 50 total points
ID: 40308806
0
 
LVL 17

Accepted Solution

by:
Chris Harte earned 300 total points
ID: 40309528
0
 
LVL 11

Assisted Solution

by:Murfur
Murfur earned 150 total points
ID: 40309667
I use Komodo for a few reasons:
It is multi-platform - I have a Windows setup at the office and a Mac at home and thanks to DropBox managing the files, using the same IDE on both environments means that I can pick up where I left off without any complications.
It is customisable, as are most IDEs nowadays, but I like that it allows me to tailor the UI to my own colour preferences or to use the add-ons I want.
it is multi-language so can handle all the different flavours of includes that you can think of
Intelligent auto-complete, i.e. picks up your own variables etc. and not just the preset language keywords
And so the list goes on...

The full blown is a mere $89 and includes version control and a whole host of other options (see here for a comparison list) and you can download and trial it for a month but I find that the free open source version Komodo Edit is more than good enough for every day needs.

@MunterMan - FYI, Eclipse is the base for Aptana and several other IDEs
0
Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

 
LVL 110

Expert Comment

by:Ray Paseur
ID: 40311759
Eclipse and Komodo are what we've used in teaching environments.  Personally, I do not use any IDE at all.  I use a text editor, TextPad or sometimes BBEdit.  My test environment works like this:

Write code on local computer.  FTP code to internet-based server.  Run tests in Chrome with DevTools open.  

That's a bit of an oversimplification, since it leaves out details of Unit testing, Version control, etc., but it covers the essentials.  I have no disdain for IDE software, I just find myself using and reusing my own libraries.  Perhaps the best answers are the ones we are most familiar with?
0
 

Author Comment

by:elepil
ID: 40312686
Ray, if you're just using a text editor, how do you debug PHP then? And I'm guessing you debug JavaScript through Firebug or something similar?

The ability to step trace through PHP and JavaScript code is crucial to me.
0
 
LVL 110

Expert Comment

by:Ray Paseur
ID: 40312719
I don't really debug PHP.  When you write code with an OOP design, there is very little debugging needed.  Debugging is mostly an artifact of procedural coding practices.  I just have a look at the data with var_dump() and if it's OK, the logical connections are probably OK, too, since they are defined by the interface.

For JavaScript (jQuery), I use Chrome Dev Tools.
0
 

Author Comment

by:elepil
ID: 40312928
Ray, what you say shocks me. Debugging is not an artifact of procedural coding practices; you're saying that if one codes using OOP principles, no debugging will ever be necessary. Debugging is not always wholly about data, oftentimes it's about verifying the accuracy of your logic. When you write an application that works 99% of the time and crashes 1% of the time, it's debugging time, and dumping data is not enough.

With all due respect, but you can't possibly be a software developer, or you would never say that.
0
 
LVL 110

Expert Comment

by:Ray Paseur
ID: 40312959
What I wrote:
When you write code with an OOP design, there is very little debugging needed.
What you read:
...you're saying that if one codes using OOP principles, no debugging will ever be necessary.
In object-oriented design there is far less logic needed and the software components are deliberately made to be reusable.  Automated unit tests replace the debugging process.  It's not that I don't debug - it's just that I don't debug "by hand" any more.  It's a fraction of my development time now.  It used to be a much larger fraction!
0
 

Author Comment

by:elepil
ID: 40321125
Murfur, how do you find the debugging features of Komodo IDE? You didn't say anything about that, and if you look in my original post, debugging is a big thing to me. Thanks.
0
 
LVL 11

Expert Comment

by:Murfur
ID: 40340516
I don't need to debug as I write the code correctly the first time... 😄

The reality is there isn't so much these days because, like Ray, I'm OOPing but what does come up is usually spotted in a firebug console and dealt with accordingly. That said, I do have one little niggle that I will address with Komodo tomorrow so that I can offer a better answer but in the meantime here's a little light reading:
http://docs.activestate.com/komodo/4.4/debugger.html
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Jaspersoft Studio is a plugin for Eclipse that lets you create reports from a datasource.  In this article, we'll go over creating a report from a default template and setting up a datasource that connects to your database.
Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question