debuggin php with phpstorm 1.0?
Hi just I am testing this product, and I would like to test the debugger in php and javascript I have both configuration (Javascript Debug and PHP on Server) in in PHP on Server I check the option "Break at the first line" the debugger appear and the javascript debugger appear too, but I can set breakpoint in code javascript but not in PHP code so how I can set breakpoint in PHP?
regards
Frank
Note: Validate xdebg configuration is ok so some hint please
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title></title> <script type="text/javascript"> function hello2(){ alert("hello2") } function hello(){ alert("hello"); hello2(); } </script> </head> <body onload="hello()"> <?php /** * Created by IntelliJ IDEA. * * Date: May 27, 2010 * Time: 5:09:00 PM * To change this template use File | Settings | File Templates. */ Echo "Hello, World!"; ?> </body> </html>
Please sign in to leave a comment.
this code I was using in previous post
You need to start both PHP ans JS debugging sessions and *switch between their tabs* while working (i.e. setting breakpoints or evaluating expressions) with piece written in respective language. This is known usability problem, please track http://youtrack.jetbrains.net/issue/WI-676