Answer the question
In order to leave comments, you need to log in
How to debug javascript in PHPStorm?
I have several js files in my project that are concatenated and minified using gulp.
How can I configure IntelliJ IDEA / PHPStorm / WebStorm so that ide catches breakpoints in a concatenated file?
Answer the question
In order to leave comments, you need to log in
man is the head of everything. Or, in your case, help.
https://www.jetbrains.com/phpstorm/help/running-an...
update:
Didn't read carefully. There is no such possibility ... probably. In the browser, you can use sourcemaps for debugging, then the concatenated file will be executed, and the browser will divide everything into source codes and perform breaks according to them. I think debugging can be done in the IDE via remote, but I'm not sure.
If you want to debug JavaScript, then for this you need (as an option) Google Chrome and set breakpoints in JS in it and debug there ...
PhpStorm can debug the server side, and you, as I understand it, have a client part needs fixing.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question