question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Debugger breakpoints not working

See original GitHub issue

Hi, 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:open
  • Created 2 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
jiby-ghcommented, Aug 24, 2021

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

0reactions
cristianvogelcommented, Feb 5, 2022

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

Read more comments on GitHub >

github_iconTop Results From Across the Web

break point is not hitting while debugging - Stack Overflow
1- Right mouse click your project · 2- select [Properties] · 3- select [Build] tab · 4- make sure [Define DEBUG constant] and...
Read more >
BreakPoints Are Not Working in Visual Studio - C# Corner
BreakPoints Are Not Working in Visual Studio · Right-click on your project. · Select [Properties]. · Select the [Build] tab. · Ensure [Define...
Read more >
Breakpoints are not hit when debugging in RAM
µVision installs breakpoints on the target when you start an application with a Run (F5) or Step Over/Out command. If a breakpoint is...
Read more >
Debugger does not stop at break points : IDEA-86465
I am setting breakpoints and then start the debugger on a unit test. The breakpoints fail per java file, i.e. if a breakpoint...
Read more >
Why are breakpoints in Xcode not showing source code now?
I got the answer from a co-worker. It was a setting which I did not change myself but I was able to change...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found