Railsのjquery-ujsに絡んだ挙動をデバッグしていて、data-methodつきのaタグをクリックしたあとでステップ実行したいんだけど、どこに処理が行くのか追いづらかったとき用
window.startDebug = function() {
debugger
};
= link_to "Foo", "/foo", method: :post, "onclick": "window.startDebug()"
More than 5 years have passed since last update.
Railsのjquery-ujsに絡んだ挙動をデバッグしていて、data-methodつきのaタグをクリックしたあとでステップ実行したいんだけど、どこに処理が行くのか追いづらかったとき用
window.startDebug = function() {
debugger
};
= link_to "Foo", "/foo", method: :post, "onclick": "window.startDebug()"
Register as a new user and use Qiita more conveniently