Skip to content

Instantly share code, notes, and snippets.

@kjunichi
Last active December 29, 2015 23:29
Show Gist options
  • Save kjunichi/7742977 to your computer and use it in GitHub Desktop.
Save kjunichi/7742977 to your computer and use it in GitHub Desktop.

node.jsでdebug

変数の中身を見るには

repl

して、変数名。タブ補間も効く。

戻るにはCtrl+C

行番号指定してブレークポイントの設定

sb('script.js', 123)

script.jsの123行目でブレーク

ソースを読み込んでないと止まらないので注意

Link

関連記事

関連Gist

アクセス解析タグ

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment