【文件属性】:
文件名称:test-electron-source-maps:测试错误
文件大小:38KB
文件格式:ZIP
更新时间:2021-07-16 22:24:04
JavaScript
测试电子源图
使用源映射测试错误
重现步骤:
# clone the repo
git clone https://github.com/mattdesl/test-electron-source-maps.git
# cd into it
cd test-electron-source-maps
# install dependencies
npm install
在 Electron 中测试脚本:(查看控制台)
npm run electron
在常规浏览器中测试脚本:(查看控制台然后重新加载页面)
npm run browser
Electron 显示bundle.js -- 而 Chrome 源代码正确映射它并显示test.js (在初始页面刷新后)。
执照
麻省理工学院,有关详细信息,请参阅 。
【文件预览】:
test-electron-source-maps-master
----test.js(137B)
----package.json(919B)
----server.js(481B)
----index.html(151B)
----screenshot.png(39KB)
----.npmignore(96B)
----LICENSE.md(1KB)
----.gitignore(56B)
----README.md(835B)