Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can't debug in webstorm #321

Closed
4 tasks done
tiantao433 opened this issue Oct 23, 2023 · 7 comments
Closed
4 tasks done

can't debug in webstorm #321

tiantao433 opened this issue Oct 23, 2023 · 7 comments

Comments

@tiantao433
Copy link

Describe the bug

add debug configuratin in webstorm by docs. but debug can't work in both main and render process.
vue: 3.3.6

Electron-Vite Version

1.0.28

Electron Version

25.9.2

Vite Version

4.5.0

Validations

@alex8088
Copy link
Owner

more detail and check your npm version

@tiantao433
Copy link
Author

node v18.18.2, npm v9.8.1
can run debug mode, but breakpoint can't work

@tiantao433
Copy link
Author

链接:https://pan.baidu.com/s/1UPnd0-C_dmEHkVhGIjBB_g?pwd=90b5
提取码:90b5
this is my project

@alex8088
Copy link
Owner

watch #130 video

@tiantao433
Copy link
Author

my config is same with the video

1 2

@alex8088
Copy link
Owner

add double-dash to retry -- --sourcemap --remote-debugging-port=9222

@tiantao433
Copy link
Author

add double-dash works. debug is ok now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants