GutterFormatter breaks clicking in gutter to create breakpoint
See original GitHub issueEnvironment
-
node -v
: v12.16.1 -
npm -v
: 6.14.5 -
npm ls jest
ornpm ls react-scripts
(if you haven’t ejected): jest@26.0.1 -
your vscode-jest settings if customized:
- jest.pathToJest? default
- jest.pathToConfig? default
- anything else that you think might be relevant? see below
-
Operating system: macOS 10.15.4
Prerequisite
- are you able to run jest test from command line? yes
- how do you run your tests from command line? (for example:
npm run test
ornode_modules/.bin/jest
) jest (with npx fallback)
Steps to Reproduce
Turn on GutterFormatter in vscode settings Try clicking in the gutter to turn on/off a breakpoint
Expected Behavior
Breakpoint is toggled on/off for that line
Actual Behavior
Nothing happens. Breakpoint not toggled.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:9
Top Results From Across the Web
"Breakpoint set/unset in gutter" event in extension while not ...
Today, all breakpoints are sent only when the debugger is launched. However, I want to be able to apply breakpoints as soon as...
Read more >VScode-jest: The Optimal Flow for Jest Based Testing in VS ...
Jest - Visual Studio Marketplace & click "Install". ... GutterFormatter: render coverage status in the gutter as well as the overview ruler.
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
Sorry @connectdotz I missed your question back when you asked.
I like the gutter formatted because it doesn’t get in the way the same as the default one. With the default formatted I have to keep toggling coverage off when I am starting new code and then have to turn it on again later. When a file has little to no tests and coverage is on, it is very hard to read the contents of the file using the built in Dark+ theme.
The gutter formatter is nice in that it hows coverage in a more subtle but still useful manner.
I hear you on the gutter issue though and yes, the breakpoint on/off thing is a real problem.
Maybe if we could make the default formatter more subtle that would do the trick.
The bug of non working break points is still there. You should remove the GutterFormatter if you cannot fix that. The customization of line cutter works as workaround for me. Maybe use less annoying appearance as a default.
I use Darcula/PyCharm theme and following settings for the uncovered lines:
.vscode/settings.json