VS Code breakpoints jump to other lines

As I haven’t solved my other issue yet Randomly failing tests jest and supertest Node.js
I’ve decided to use the VS Code debugger. I thought that it would be pretty simple but after I’ve set a breakpoint at the certain line and run the debugger I find my breakpoint icon in a different place and my code stops there.

My launch.json file:

{
    "type": "node",
    "request": "launch",
    "name": "Jest Current File",
    "program": "${workspaceFolder}/node_modules/jest/bin/jest",
    "args": ["${relativeFile}"]
}

Before:
enter image description here

After:
enter image description here

Any idea why this happens?

45 thoughts on “VS Code breakpoints jump to other lines”

  1. pharmacie de garde marseille aubagne pharmacie ouverte actuellement , pharmacie ouverte yssingeaux traitement zinc , [url=https://kit.co/diohand/omnicef-livraison-suisse-acheter-omnicef-300-mg-pas-cher#]Omnicef Cefdinir 300 mg[/url] pharmacie anton et willem amiens [url=https://kit.co/petco/amoxil-prix-sans-ordonnance-acheter-amoxil-1000-mg-pas-cher#]Amoxil vente libre[/url] , pharmacie de garde aujourd’hui toulon pharmacie ouverte quimper , traitement psoriasis. therapie comportementale et cognitive le mans therapie victimisation [url=https://kit.co/wahigh/tetracycline-vente-libre-tetracycline-prix-sans-ordonnance#]Acheter Tetracycline 500 mg pas cher[/url] , pharmacie ganci aix en provence. pharmacie leclerc oleron, therapie sexofonctionnelle pharmacie de garde uzerche . pharmacie annecy loverchy, pharmacie auchan poitiers sud therapie de couple lille pharmacie de garde aujourd’hui bourges .

    Reply

Leave a Comment