日々精進

新しく学んだことを書き留めていきます

Webstormでmochaを使ったテストのデバッグ実行

・メニューのRun>Edit ConfigurationからConfiguration新規追加
・Path to node App JS Fileに「node_modules/mocha/bin/_mocha」
・追加したConfigurationをデバッグ実行する
これでOK。意外と簡単。


参考:Configure WebStorm to run and debug Mocha tests - yield the dog