How to see the errors in php code in chrome
<p>My php code is in the hostgator server and since I have to write a few scripts I don't have to install the wamp/lamp server.</p>

<p>I did a bit digging and found extensions namely PHP console. I added it and tested once, it showed me the line number of the errror.</p>

<p>But after a few hours when I tested the extension it is not working anymore for the same script and the same error.</p>

<p>I also tried another popular extension called Xdebug helper. But that also seems to be not working.</p>

<p>To test I have removed a semicolon in my working script and the link is  : <a href="http://arqamahmad.com/music_app/getmusic.php" rel="nofollow">http://arqamahmad.com/music_app/getmusic.php</a> </p>

<p>PS : I am using a shared hostgator server and I have done my research on the .htaccess and php.ini files. Nothing is helpful. The PHP console extension was the best but there seems to be some problem to that.</p>

<p>Answer : I had to add a php.ini file inside public_http making allowing the php debug mode on then only it the extensions work.</p>