LoginSignup
7
8

More than 5 years have passed since last update.

nodeデバッグコマンド

Posted at
コマンド名 説明
cont、c 実行を再開する
next、n 次の命令を実行して一時停止する(ステップ実行)
step、s 次の関数の先頭で一時停止する(ステップイン)
out、o 実行中関数から抜けるまで実行して一時停止する(ステップアウト)
pause コードの実行を一時停止する
setBreakpoint()、sb() ブレークポイントを設定する
clearBreakpoint()、cb() ブレークポイントを解除する
backtrace、bt バックトレースを表示する
list(number) 次に実行する命令の前後のソースコードをnumber引数で指定した行数ずつ表示する
watch(expr) expr引数で指定した式をウォッチする
unwatch(expr) expr引数で指定した式のウォッチを解除する
watcher ウォッチしている式とその値を一覧表示する
repl replを開始する
run プログラムの実行を開始する
restart プログラムを先頭から再実行する
kill スクリプトの実行を強制終了(KILL)する
scripts ロードされているスクリプトを一覧表示する
version V8のバージョンを表示する
7
8
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
7
8