【发布时间】:2014-04-10 16:05:05
【问题描述】:
我使用了 Yeoman 生成器,并且正在使用 Grunt 通过连接模块提供文件:
// The actual grunt server settings
connect: {
options: {
port: 9000,
// Change this to '0.0.0.0' to access the server from outside.
hostname: 'localhost',
livereload: 35730
},
livereload: {
options: {
open: true,
base: [
'.tmp',
'<%= yeoman.app %>'
]
}
},
在浏览器中进行测试并使用 Chrome 开发工具进行调试时一切正常。
但是我更喜欢通过其浏览器插件在 WebStorm 内部进行调试是否可以将连接进程连接到 WebStorm 以通过这种方式进行调试?
【问题讨论】:
标签: gruntjs yeoman webstorm grunt-contrib-connect