Is it possible to Debug in php file

Hi, I have problem, is it possible to debug my php file?... for example i have 3 php file, index.php,add.php,function.php

now i want to know what what are the variable pass to my function.php or to my add.php or i want to see the execution line by line in a certain php which is i want to debug.

or i want to see the execution in my forloop inside my function.php...is this possible in phpstorm?

Thank you in advance.

4 comments

Hi i have questions, I tried to create a single .php file where there is a class and loop without using the database,I succesfully seen the execution in my forloop but when i tried to my website with 20 php files,i tried to put some breakpoints in my php file called "function.php" you can see here all my adding statement and inserting statement to the database,when i clicked the debug icon it does not debug my function, i also tried to run my website and tried to put some values and then i submit it but nothing happens,and i go back again to the IDE and then click the bug icon nothing happen again,by the way it only print to the console my php codes.and also the html tags or codes.then it stopped immediately.



Thank you in advance.

0

Hi, It's okay now,..it solveds now my problem.. thank you again :)

0

Please sign in to leave a comment.