top of page
Home: Welcome
Home: Blog2
Search

Netbeans waiting for connection

  • qdras
  • Jan 29, 2020
  • 1 min read

Are you trying to debug your php project or only file with xdebug extension and netbeans just write message "Waiting For Connection (netbeans-xdebug)" ? Your problem could solve deleting cookies from the Chrome, Firefox or another web browser in which you want open the window for debugging project and setting an environment variable idekey on windows. Look at the pictures bellow.



What you see, when it is not working.

Tools -> options -> PHP -> Debugging - check the port if is the same as in Xdebug and look at the Session ID and remember it.

Now create php file with phpinfo() function and run it on localhost.

The ide key is not the same as in the netbeans ("netbeans-xdebug"). So try delete the cookies in the browser.

This you should see , there is no HTTP_COOKIE line.

Now write to the command line:

set XDEBUG_CONFIG="idekey=netbeans-xdebug"

and try debug file/project in netbeans


This you should see when you use phpinfo() function.

 
 
 

Recent Posts

See All

Comments


Subscribe Form

©2020 by qdras. Proudly created with Wix.com

bottom of page