logo
  • 教程列表
  • SO官方文檔
  • 除錯
    • 瀏覽器偵錯程式
    • 將偵錯程式斷點新增到你的應用程式
    • 使用 Node Inspector 進行伺服器端除錯
    • 使用 npm debug 進行伺服器端除錯
    • 流星殼
    • 其他除錯實用程式
  1. StackOverflow 文件
  2. meteor 教程
  3. 除錯
  4. 將偵錯程式斷點新增到你的應用程式

將偵錯程式斷點新增到你的應用程式

Created: November-22, 2018

你需要在程式碼中新增 debugger 語句:

Meteor.methods({
  doSomethingUself: function(){
    debugger;
    niftyFunction();
  }
});
  • 使用 Node Inspector 進行伺服器端除錯
  • 瀏覽器偵錯程式

Copyright © 2018. All right reserved

tastones.com 备案号:鲁ICP备18045372号-1

  • 關於本站
  • 免責聲明