npm create electron-vite 创建的新项目调试断点无效 #401
-
用npm create electron-vite创建的新项目在 main.ts的win = new BrowserWindow处下断点无效程序不会暂停,但是克隆仓库下来的却是可以的 尝试复制.vscode里面的文件到npm create electron-vite创建的项目中仍然不行 |
Beta Was this translation helpful? Give feedback.
Answered by
caoxiemeihao
Jul 12, 2023
Replies: 1 comment 3 replies
-
需要完整的配置,你仔细对比下 vite.config.js 尤其是 sourcemap |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
npm create electron-vite
不可能提供非常过的功能,你可以理解它只是npm create vite
加了一小部分 Electron 必要代码而已,与 Vite 提供的基础模板保持一致