在WebStorm中调试JS时保留Chrome扩展 [英] Keep Chrome extensions when debugging JS in WebStorm

查看:79
本文介绍了在WebStorm中调试JS时保留Chrome扩展的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我在WebStorm(Angular)中进行调试时,它将启动一个新的会话Chrome浏览器,但删除了所有扩展,但是我想将Redux扩展保留在调试会话中.有可能吗?

When I debug in WebStorm (Angular) it launches a new session Chrome browser but removed all extensions, however I would like to keep the Redux extension in the debug session. Is it possible?

推荐答案

WebStorm默认使用带有-remote-debugging-port 选项的Chrome协议进行调试.在新窗口中使用新的自定义Chrome配置文件启动调试会话(例如,如果Chrome已启动,则无法为具有相同用户数据的任何新的或现有的Chrome实例打开调试端口).

WebStorm uses Chrome protocol with --remote-debugging-port option for debugging by default. Debug session is started in a new window and using a new custom Chrome profile (as, if Chrome is already started, a debugging port can't be opened for any new or existing Chrome instance that has the same user data).

您可以在设置" |设置"中修改Chrome设置.工具|网络浏览器以使用您自己的用户数据启动Chrome-请参见

You can modify Chrome settings in Settings | Tools | Web Browsers to launch Chrome with your own user data - see https://www.jetbrains.com/help/webstorm/configuring-javascript-debugger.html#ws_js_debug_default_chrome_user_data. But you will then need to make sure to close all running Chrome instances prior to starting the debug session to make debugging work

这篇关于在WebStorm中调试JS时保留Chrome扩展的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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