V
V
vbarbarosh2015-05-22 21:11:47
phpstorm
vbarbarosh, 2015-05-22 21:11:47

How to debug .jsx files in PHPStorm/WebStorm/IntelliJ IDEA without browserify/webpack?

Is it possible to debug .jsx files in PHPStorm/WebStorm/IntelliJ IDEA without running them through browserify/webpack?
I'm using the standard in-browser jsx transformer and it even creates sourcemaps. But breakpoints seem to be ignored.
I really don't want to use gulp/browserify and/webpack. After all, if .jsx files can be recompiled into regular javascript right in the browser, and there are even sourcemaps for them, maybe they can be used somehow?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Arthur, 2015-05-22
@ArthurG

You can set up a file watcher so that when files change, js code is generated through a jsx transformer. And in it already put breakpoints.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question