I am new at the software phpStorm.
When I edit a html file, I can put break point on the javscript part, by clicking on the left of the code editor.
However, when I edit a php file, it doesn't work. It works only to put a break point on the php part of the code.
How can I put javascript break point on my php files?
Add a debugger;
line to your JavaScript code. For example:
alert("First.");
debugger; // Trigger a breakpoint.
alert("Second.");
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With