Skip to main content
deleted 87 characters in body
Source Link
James Z
  • 12.3k
  • 10
  • 27
  • 48

Hi I am trying to find the way to debug javascript code inside the php file,. I have a lot of javascript code embedded inside the php file.

I can debug php code using netbeans with the help of XDebug,. I can also debug javascript separately inside html or js file with browser like chrome or firefox.

What I want is to debug javascript code inside the php file if it is possible,. I am sure a lot of people will be using javascript embedded with php file,. I don't like it personally, but I have to work it on,. I know I can write the code separately in js file and then can debug with browsers, but it's lot of code, take time for the separation.

Can anybody here suggest me wella way if it's possible what I am asking, it would really be appreciated if I can do this.

Reference posts are attached

Debug Javascript in netbeans 7.4 inside PHP project

https://netbeans.org/kb/docs/php/debugging.html

https://confluence.jetbrains.com/display/PhpStorm/Debugging+PHP+and+JavaScript+code+at+the+same+time+in+PhpStorm

https://blog.jetbrains.com/phpstorm/2014/06/debugging-php-and-javascript-code-at-the-same-time/

Thanks

Hi I am trying to find the way to debug javascript code inside the php file, I have a lot of javascript code embedded inside the php file.

I can debug php code using netbeans with the help of XDebug, I can also debug javascript separately inside html or js file with browser like chrome or firefox.

What I want is to debug javascript code inside the php file if it is possible, I am sure a lot of people will be using javascript embedded with php file, I don't like it personally, but I have to work it on, I know I can write the code separately in js file and then can debug with browsers, but it's lot of code, take time for the separation.

Can anybody here suggest me well way if it's possible what I am asking, it would really be appreciated if I can do this.

Reference posts are attached

Debug Javascript in netbeans 7.4 inside PHP project

https://netbeans.org/kb/docs/php/debugging.html

https://confluence.jetbrains.com/display/PhpStorm/Debugging+PHP+and+JavaScript+code+at+the+same+time+in+PhpStorm

https://blog.jetbrains.com/phpstorm/2014/06/debugging-php-and-javascript-code-at-the-same-time/

Thanks

I am trying to find the way to debug javascript code inside the php file. I have a lot of javascript code embedded inside the php file.

I can debug php code using netbeans with the help of XDebug. I can also debug javascript separately inside html or js file with browser like chrome or firefox.

What I want is to debug javascript code inside the php file if it is possible. I am sure a lot of people will be using javascript embedded with php file. I don't like it personally, but I have to work it on. I know I can write the code separately in js file and then can debug with browsers, but it's lot of code, take time for the separation.

Can anybody here suggest me a way if it's possible what I am asking.

Source Link
Irshad Babar
  • 1.4k
  • 22
  • 27

Debugging Javascript inside php file possible?

Hi I am trying to find the way to debug javascript code inside the php file, I have a lot of javascript code embedded inside the php file.

I can debug php code using netbeans with the help of XDebug, I can also debug javascript separately inside html or js file with browser like chrome or firefox.

What I want is to debug javascript code inside the php file if it is possible, I am sure a lot of people will be using javascript embedded with php file, I don't like it personally, but I have to work it on, I know I can write the code separately in js file and then can debug with browsers, but it's lot of code, take time for the separation.

Can anybody here suggest me well way if it's possible what I am asking, it would really be appreciated if I can do this.

Reference posts are attached

Debug Javascript in netbeans 7.4 inside PHP project

https://netbeans.org/kb/docs/php/debugging.html

https://confluence.jetbrains.com/display/PhpStorm/Debugging+PHP+and+JavaScript+code+at+the+same+time+in+PhpStorm

https://blog.jetbrains.com/phpstorm/2014/06/debugging-php-and-javascript-code-at-the-same-time/

Thanks