1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

Visual Studio Code PHP Debug 急にブレークポイントが設定できなくなった

Posted at

目的

  • デバッグ中にブレークポイントが設定できなくなって困ったので自分の遭遇したケースの解決策を記載する

前提情報

  • 筆者のVScodeは日本語化拡張機能が導入されている。

症状

  • 行数の左側をクリックするとブレークポイントを設定できるはずなのにクリックしてもブレークポイントが設定できない

    FirstController_php_—_j-project.png

解決方法

  1. タスクバーの「code」をクリックし「基本設定」→「設定」をクリックする。
  2. 設定の検索に「phg debug」と入力しEnterを押下する。

    設定_—_j-project.png

  3. サイドメニューの「デバッグ」をクリックする。

    設定_—_j-project.png

  4. 「Debug: Allow Breakpoints Everywhere」のチェックが外れていたためチェックをつける

    設定_—_j-project.png

  5. 下記のようになっていることを確認して設定を閉じる。

    設定_—_j-project.png

  6. 正常にブレークポイントを設定できようになった。使用中になぜ設定が変わってしまったんだろう。。。

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?