首先安装Debugger for Firefox

 

然后再编写json配置代码

 

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

        }

 

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

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

 

相关文章:

  • 2022-02-19
  • 2022-01-17
  • 2021-11-11
  • 2021-07-11
  • 2021-04-30
  • 2021-11-27
  • 2021-08-31
  • 2022-12-23
猜你喜欢
  • 2021-12-25
  • 2022-01-13
  • 2022-12-23
  • 2021-09-19
  • 2021-12-23
  • 2022-02-08
  • 2021-08-04
相关资源
相似解决方案