Can't add breakpoints in Chrome DevTools
See original GitHub issueDescription
I’m not able to add breakpoints in Chrome DevTools after updating gatsby to version: 2.13.45
Steps to reproduce
Use official theme starter
https://github.com/gatsbyjs/gatsby/tree/master/themes/gatsby-starter-theme
Expected result
Be able to debug website in DevTools
Actual result
When I click on the line number bar I can’t add a breakpoint. If I right-click and choose “Add breakpoint” the breakpoint is not showing up.
Just noticed that I’m able to add a breakpoint but on the first line only.
Environment
Run gatsby info --clipboard
in your project directory and paste the output here.
OS: macOS 10.14.5
CPU: (8) x64 Intel(R) Core(TM) i7-4770HQ CPU @ 2.20GHz
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 10.16.0 - /usr/local/bin/node
Yarn: 1.17.3 - /usr/local/bin/yarn
npm: 6.9.0 - /usr/local/bin/npm
Languages:
Python: 2.7.10 - /usr/bin/python
Browsers:
Chrome: 75.0.3770.142
Firefox: 66.0.3
Safari: 12.1.1
npmPackages:
gatsby: ^2.13.45 => 2.13.45
gatsby-theme-blog: ^1.0.0 => 1.0.0
gatsby-theme-notes: ^1.0.0 => 1.0.0
npmGlobalPackages:
gatsby-cli: 2.4.8```
Issue Analytics
- State:
- Created 4 years ago
- Reactions:7
- Comments:33 (9 by maintainers)
Top Results From Across the Web
Chrome DevTools won't let me set breakpoints on certain lines
In the image above, I tried setting breakpoints on every line from line 437 to line 443. However, I cannot set breakpoints on...
Read more >5 Ways to Add Breakpoints on Chrome Devtools
1# Add breakpoints directly. Go to Source Tag of Chrome Devtools, click the line number where the code is located to add a...
Read more >5 Ways to Add Breakpoints on Chrome Devtools | by bytefish
1# Add breakpoints directly. Go to Source Tag of Chrome Devtools, click the line number where the code is located to add a...
Read more >Chrome DevTools won't let me set breakpoints on certain lines
JavaScript : Chrome DevTools won't let me set breakpoints on certain lines [ Gift : Animated Search Engine : https://bit.ly/AnimSearch ] ...
Read more >Set Breakpoints In The Chrome DevTools - YouTube
How to set and remove breakpoints, condition breakpoints, and log points in the Chrome DevTools.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Please reopen this issue ! Not being able to debug from the browser is a pain !
Yes, it’s very difficult to debug but also if you have an error in the app it’s not showing the right line of the problem which is very confusing. I’ve changed the version strictly to
2.13.25
and all works fine now.