Hi,

Someone suggest me to use Netbeans to debug code in php. I have installed php, yet do not know how to detect errors that I have using Netbeans. Does anyone know how to use it ?

I try debug -> debug file -> Run arguments (empty) -> (x) php enterpreter must be selected

What should I do?

Text from netbean's kb

To successfully debug PHP applications in the NetBeans IDE for PHP, you need to have the PHP engine, the Apache local web server, and the XDebug debugger installed and configured for PHP development. If you have difficulties getting XDebug to work, see the NetBeans wiki on XDebug and/or ask the community at users@php.netbeans.org.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.