If your xdebug settings are on in php.ini but the debug button is disabled in Netbeans, you must check if:
- PHP plugin is enabled. Go to Tools Plugins -> Installed, select PHP and activate, then start Netbeans again.
- When you add the project, make sure you select PHP as project type. See image bellow: