strange problem running node run config with custom plugin installed
Hi -
I really don't know where to begin with this problem so hope someone can give me a clue.
I have written a plugin, which is nothing to do with node or npm, for IDEA CE. I tried it in Ultimate edition, and the plugin functionality works.
The strange problem is that when I attempt to run a pre-existing node run config, nothing happens at all. There is no message in the log, the run tab doesn't appear, nothing. There are no messages in the log prior to this, I can see the NodeJS plugin is loaded as usual. Same for all node run configs. Other run configs, eg gradle ones, work fine.
I suppose I can attempt to debug IU, but I'm not really sure where to start looking. My plugin has various extension point, but I don't see where the overlap is with node.
So any pointers appreciated...
cheers, jamie
Please sign in to leave a comment.
Hi, Jamie.
That's indeed quite unexpected, I have no idea what can cause it. Debug session is started in com.intellij.execution.impl.ExecutionManagerImpl#restartRunProfile, and then for NodeJS run configurations com.intellij.execution.runners.GenericProgramRunnerKt#startRunProfile should be executed, please check these methods.
Hi Konstantin,
Thanks for the tips. Debugging those entry points I found I had actually written dummy configurationType and programRunner extensions that I had completely forgotten about... mostly for experimentation.
Not sure why they came into play for npm scripts and not other things, but nevermind, I didn't want them anyway. Problem solved!
cheers, jamie