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.

Breakpoints not working in watch mode

See original GitHub issue

🐛 Bug Report

Debugger keyword or breakpoints does not work anymore in watch mode. It stops on first line but not in other breakpoints

To Reproduce

$ node --inspect-brk ./node_modules/jest/bin/jest.js --runInBand --config=tests/config.json --watch

Expected behavior

It is expected to break on first line and in debugger statements or breakpoints

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:11

github_iconTop GitHub Comments

2reactions
joselcvarelacommented, Jul 24, 2018

As workaround I am using nodemon without watch flag instead of node. But it’s pretty strange. I don’t know if the problem resides in jest or in babel-jest.

0reactions
github-actions[bot]commented, May 11, 2021

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. Please note this issue tracker is not a help forum. We recommend using StackOverflow or our discord channel for questions.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Visual Studio debugger doesn't stop on breakpoints
When you debug ASP.NET applications in Visual Studio .NET, the debugger might not stop on breakpoints. Cause. This problem occurs because ASP.
Read more >
Chrome javascript debugger breakpoints don't do anything?
Breakpoints where not working unless I used debugger; . I fixed my breakpoints problem with "Restore defaults and reload".
Read more >
Xcode 13: Active breakpoint turns to an outline when app is run.
When I run the apps (in a simulator), the breakpoint turns to an outline of a breakpoint marker, with a dotted blue outline...
Read more >
Debugging in Visual Studio Code
One of the great things in Visual Studio Code is debugging support. Set breakpoints, step-in, inspect variables and more.
Read more >
Pause your code with breakpoints - Chrome Developers
Use breakpoints to pause your JavaScript code. This guide explains each type of breakpoint that's available in DevTools, as well as when to ......
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