[英]Remote debugging javascript on IntelliJ with JetBrains Chrome extension isn't working
I am trying to set up a debugger for some JS files which I am editing on IntelliJ (2020.1.4).我正在尝试为我在 IntelliJ (2020.1.4) 上编辑的一些 JS 文件设置调试器。 I followed the instructions here Debug with JetBrains Chrome extension , and I think I've completed all the steps as illustrated:
我按照此处Debug with JetBrains Chrome extension中的说明进行操作,并且我认为我已经完成了如图所示的所有步骤:
Right settings on Chrome Extension as with default IntelliJ port, and extension itself says it is connected to IntelliJ IDEA 2020.1.4 Chrome 扩展程序上的正确设置与默认 IntelliJ 端口一样,扩展程序本身表示它已连接到 IntelliJ IDEA 2020.1.4
I have below breakpoint in my javascript file and I ran the application on debug我的 javascript 文件中有以下断点,我在调试时运行了应用程序
mode.
模式。
But on my chrome console, I saw it going past my breakpoint as it print above log statement and on IDE I didn't observe any stops.但是在我的 chrome 控制台上,我看到它越过了我的断点,因为它在日志语句上方打印,在 IDE 上我没有观察到任何停止。 Is there like a missing step I didn't do?
有没有我没有做的缺失步骤?
Turns out I need to click on "Inspect on IDEA"原来我需要点击“Inspect on IDEA”
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.