ブレークポイントで停止しないときは、launch.jsonで"pathMapping"を定義します。 "pathMapping"はオブジェクト形式で、キーがURL、値がファイルシステム上のパスです。 次のような記述になります。 { // IntelliSense を使用して利用可能な属性を学べます。 // 既存の属性の説明をホバーして表示します。 // 詳細情報は次を確認してください: https://go.microsoft.com/fwlink/?linkid=830387 "version": "0.2.0", "configurations": [ { "type": "chrome", "request": "launch", "name": "Launch Chrome against localhost", "url": "http://テストドメイン.com/test.ht
![【VSCode】JavaScript(ブラウザ)デバッグでブレークポイントで停止しない時の対処](https://cdn-ak-scissors.b.st-hatena.com/image/square/7818bb2600bd3b00c7a6398c169b9b4704441c58/height=288;version=1;width=512/https%3A%2F%2Fnote.affi-sapo-sv.com%2Flogos%2Fvscode-js-stop-breakpoint-php-logo.jpg)