如何用Intellij IDE调试Chrome扩展? [英] How to debug chrome extension with Intellij IDE?

查看:403
本文介绍了如何用Intellij IDE调试Chrome扩展?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是Intellij IDE的新手,我想知道是否可以在IDE中调试Chrome扩展。



我可以从IDE启动Chrome调试会话,但我无法设置任何断点。



如果我的理解正确,问题是Chrome在安装扩展时将JS文件移动到配置文件目录,所以Intellij无法监控它们。

解决方案

现在不可能。实际问题 - IDEA尝试连接,但应使用特殊的Chrome扩展页面。投票给 http://youtrack.jetbrains.com/issue/WEB-9708 p>

I'm new to Intellij IDE and I was wondering if it's possible to debug Chrome extensions within the IDE.

I can start Chrome debugging session from the IDE, but I can't set any breakpoints.

The problem, if I understand it correctly, is that Chrome moves the JS files to the profile directory when I install the extension, so Intellij can't monitor them anymore.

解决方案

It is not possible right now. Actual problem — IDEA tries to connect, but special chrome extension page should be used. Vote for http://youtrack.jetbrains.com/issue/WEB-9708

这篇关于如何用Intellij IDE调试Chrome扩展?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆