Javascript breakpoint bug:
When I do a main (beginning-of-line breakpoint), it works. But once that breakpoint is hit, I can’t select those mid-line breakpoints:

In VSCode and Windsurf, those midline breakpoint-circles are clickable and I can turn off the beginning-of-line breakpoints after. Then it only breakpoints in the middle of code line.
But this is impossible in Cursor; these are unclickable circles (unlike VSCode or Windsurf).
- Find a single-line if statement or long expression
- Put a breakpoint on it
- Run your web app
- When the breakpoint is hit, try to select one of the midline breakpoints
- Not possible!
Cursor can’t do it; I think it’s a bug.
This is a very IMPORTANT part of my debugging workflow!
I often use one-line lookup table-style matrix “switch” statements, and I often use one-line if statements for simple stuff like this.
switch (lookupExample) {
case undefined: console.error("this.shop(): Undefined occured!"); break;
case 1: situation = this.goBananas(); break;
case 2: situation = this.goApples(); break;
case -1: console.log("this.shop(): Do nothing"); break;
default: console.error("this.shop(): Unexpected value!"); break;
}
I can breakpoint the middle of the table in VSCode and Windsurf;
Sometimes I want to breakpoint in the middle of a code line!
(This helps me do other things like variables watches/inspects)
Thousands of oneliners in my project, so I even go back to Windsurf sometimes.
I spend three figures a month on AI API credits.
- AI IDE’s need to also support non-vibeprogramming manual debug workflows too.
- I’m not re-linting my project just for Cursor (sorry).