Debugging grunt with Intellij

前端 未结 2 1726
逝去的感伤
逝去的感伤 2020-12-19 12:56

I\'m trying to debug grunt with Intellij (IDEA). The technologies are: NodeJS, express, AngularJS.

The problem: Debugger does not stop on breakpoints.

I\'ll

2条回答
  •  醉梦人生
    2020-12-19 13:24

    Try installing the JetBrains IDE Support extension for chrome, and then create a javascript Debug configuration like this:
    (source: ignaciosuay.com)

    My grunt server is running in the port 9000, so change it for 3000. note: You need to run grunt before running this configuration. If you have any query, please have a look to this post where is explained step by step how to debug AngularJS with Intellij.

提交回复
热议问题