Debugger breakpoints not working
See original GitHub issueHi, i’m trying to use the Webstorm debugger for svelte files written in Typescript. I’ve followed this article on how to use the debugger when using an external application server (I’m using webpack/yarn).
Debugging works great and as expected within Webstorm when using the debugger
keyword inside the TS code or when using sveltes {@debug something}
.
Sadly I’m not able to make the debugger pause execution when using Webstorms breakpoints. I’ve tried to use the “Ensure breakpoints are detected” option in the Javascript Debug configuration, but thats not working either.
Can you hint me to a direction where the problem could be? I’ve seen the svelte plugin added support for debugging, so I think I’m doing something wrong. Or is it expected that debugging works with the keywords debugger and @debug only?
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (1 by maintainers)
well, it was an issue with source map generation in my project, unrelated to the plugin. I Fixed the source map generation and breakpoints work just fine. So can ignore my last comment @tomblachut
Hi. I am running into this issue. I have no breakpoints at all when in Run Dev, not for methods, components or html …
UPDATE: Ignore, I also sorted it out following this article