L
L
LB7772015-03-06 11:55:35
JavaScript
LB777, 2015-03-06 11:55:35

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

4 answer(s)
A
asdz, 2015-03-06
@asdz

Does not help?
habrahabr.ru/post/178743

S
Sergey, 2015-03-06
Protko @Fesor

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.

A
Andrey Mokhov, 2015-03-06
@mokhovcom

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.

D
Denis Denis, 2015-10-14
@golovewkin

sanchiz.net/blog/otladka-javscript-v-phpstorm
_

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question