0
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 5 years have passed since last update.

Chrome の検証を使った JS が絡んだエラー内容の確認方法

Posted at

すっごく基本的な内容だと思いますが、個人的に結構感動したので。

背景

バックエンドはFuelPHPで、angularJSを用いてのチャットの送信がうまくできなかったので、エラーの内容を確認したかった。

操作

1.Google Chrome でページを開き右クリックから「検証」を選択
2.上のツールバーの中から「Network」を選択
 (Elements,Console,Sources,... と並んでいます)
3.Filter のところから「All」を選択
 (All,XHR,JS,CSS,... と並んでいます)
4.検証したい操作を実行
5.エラーが発生している部分が赤文字で出てくるのでクリック
 (今回は.jsonファイルでした)

これでエラー内容が確認できるはずです。今回の場合はしっかりFuelPHPのエラーページが見られました。

0
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
0
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?