Debugging Typescript Applications: Build Web Apps That Don't Break
暫譯: 調試 TypeScript 應用程式:構建不會崩潰的網頁應用程式

Ozornin, Andrey, Talbot, Kelly

  • 出版商: Pragmatic Bookshelf
  • 出版日期: 2026-05-20
  • 售價: $1,980
  • 貴賓價: 9.8$1,940
  • 語言: 英文
  • 頁數: 146
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 9798888651988
  • ISBN-13: 9798888651988
  • 相關分類: TypeScript
  • 海外代購書籍(需單獨結帳)

商品描述

Writing code has never been a problem; getting that code to work is.

New code becomes cheaper every day, but maintenance does not. Bugs are faster, subtler, and harder to catch, and dealing with them is increasingly difficult. This book will make it easier, showing you both useful (and underused) features of your browser's developer console and also ways of writing your code that makes it easier to test (and less likely to need debugging in the first place).

In just one week you'll master debugging skills that will save you hours every day.

Read stack traces as if they were a story, wrap risky code in bulletproof guardrails, and triage issues so that critical ones always get fixed first. Master root-cause analysis, design gracefully failing systems, trace data through tangled chains of callbacks and promises, and make resolving future problems easier for everyone with smart error monitoring. Surprise yourself by the power of familiar Chrome developer tools that have always been readily available to you.

Starting from a foundation of process methodologies and software design principles, you'll continue on through practical techniques like logging and interactive debugging before arriving at monitoring and debuggability. In the end, you'll have the knowledge you were missing and the skills you need to help you raise the quality bar and focus on what truly matters most: building exceptional web applications.

Happy debugging!


What You Need

A computer with a Chromium-based browser such as Chrome, Vivaldi, or Brave, and an IDE such as WebStorm or VSCode. Along the way, you'll be installing command-line tools, so be sure you have permission to do so.

商品描述(中文翻譯)

撰寫程式碼從來不是問題;讓這段程式碼運行才是。

新的程式碼每天變得更便宜,但維護卻不然。錯誤變得更快、更微妙且更難以捕捉,處理它們的難度也在增加。本書將使這一切變得更簡單,向您展示瀏覽器開發者控制台中有用(且未被充分利用)的功能,以及編寫程式碼的方式,使其更易於測試(並且不太可能需要調試)。

在短短一週內,您將掌握調試技能,為您每天節省數小時的時間。

像閱讀故事一樣閱讀堆疊追蹤,將風險程式碼包裹在防彈護欄中,並對問題進行分類,以便關鍵問題總是優先修復。掌握根本原因分析,設計優雅失敗的系統,追蹤數據通過錯綜複雜的回調和承諾鏈,並通過智能錯誤監控使未來問題的解決對每個人都更容易。驚訝於熟悉的 Chrome 開發者工具的強大,這些工具一直隨時可用於您。

從流程方法論和軟體設計原則的基礎開始,您將繼續學習實用技術,如日誌記錄和互動調試,然後到達監控和可調試性。最終,您將擁有缺失的知識和幫助您提高質量標準、專注於真正重要的事情的技能:構建卓越的網頁應用程式。

祝您調試愉快!


您需要的條件

一台配備 Chromium 基礎瀏覽器(如 Chrome、Vivaldi 或 Brave)和 IDE(如 WebStorm 或 VSCode)的電腦。在此過程中,您將安裝命令行工具,因此請確保您有權這樣做。