netbeans shows “Waiting For Connection (netbeans-xdebug)”

Have you rectified the issue ? If not then please try this. 1.) php.ini file content [xDebug] zend_extension = “c:\xampp\php\ext\php_xdebug-2.2.3-5.4-vc9.dll” xdebug.remote_autostart=on xdebug.remote_enable=on xdebug.remote_enable=1 xdebug.remote_handler=”dbgp” ;xdebug.remote_host=”localhost:81″ xdebug.remote_host=192.168.1.5 ;xdebug.remote_connect_back=1 xdebug.remote_port=9000 xdebug.remote_mode=req xdebug.idekey=”netbeans-xdebug” xdebug.remote_host=192.168.1.5 – This is the IPv4 address of my system, I changed to this because I couldn’t debug with localhost and 127.0.0.1. in NetBeans IDE, … Read more

\u200b (Zero width space) characters in my JS code. Where did they come from?

Here’s a stab in the dark. My bet would be on Google Chrome Inspector. Searching through the Chromium source, I spotted the following block of code if (hasText) attrSpanElement.appendChild(document.createTextNode(“=\u200B\””)); if (linkify && (name === “src” || name === “href”)) { var rewrittenHref = WebInspector.resourceURLForRelatedNode(node, value); value = value.replace(/([\/;:\)\]\}])/g, “$1\u200B”); attrSpanElement.appendChild(linkify(rewrittenHref, value, “webkit-html-attribute-value”, node.nodeName().toLowerCase() === “a”)); … Read more

Deployment error:Starting of Tomcat failed, the server port 8080 is already in use

goto command prompt netstat -aon for linux netstat -tulpn | grep ‘your_port_number’ it will show you something like TCP 192.1.200.48:2053 24.43.246.60:443 ESTABLISHED 248 TCP 192.1.200.48:2055 24.43.246.60:443 ESTABLISHED 248 TCP 192.1.200.48:2126 213.146.189.201:12350 ESTABLISHED 1308 TCP 192.1.200.48:3918 192.1.200.2:8073 ESTABLISHED 1504 TCP 192.1.200.48:3975 192.1.200.11:49892 TIME_WAIT 0 TCP 192.1.200.48:3976 192.1.200.11:49892 TIME_WAIT 0 TCP 192.1.200.48:4039 209.85.153.100:80 ESTABLISHED 248 TCP 192.1.200.48:8080 … Read more

How to change file encoding in NetBeans?

Go to etc folder in Netbeans home –> open netbeans.conf file and add on netbeans_default_options following line: -J-Dfile.encoding=UTF-8 Restart Netbeans and it should be in UTF-8 To check go to help –> about and check System: Windows Vista version 6.0 running on x86; UTF-8; nl_NL (nb)

How can I set the JDK NetBeans runs on?

Thanks to Kasun Gajasinghe’s tip, I found the solution in the “suggested” link. Update the following file (replace 7.x with your NetBeans version): C:\Program Files\NetBeans 7.x\etc\netbeans.conf Change the following line to point it where your Java installation is: netbeans_jdkhome=”C:\Program Files\Java\jdk1.7xxxxx” You may need administrator privileges to edit netbeans.conf.

Logging not showing

I suspect it can be a library I included, which is messing with my logs. Is that possible at all? Yes. The JUL to SLF4J Bridge can remove the console handler from the JUL root logger. Some libraries invoke LogManager.reset which can remove and close all handlers. Can a library change the way my logs … Read more