VS Code 使用插件让HTML和JS代码运行在火狐浏览器

首先安装Debugger for Firefox

 

然后再编写json配置代码

 

    {
         
             
                    "name": "Html",
                    "type": "firefox",
                    "request": "launch",
                    "reAttach": true,
                    "file": "${file}"

        }

 

注意在运行的时候选择HTML的运行配置。

这样就能再VS Code中断点JS了。

 

posted @ 2020-03-18 20:55  ARM830  阅读(1421)  评论(0编辑  收藏  举报