ניפוי באגים והבטחות באמצעות כלי פיתוח
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
בפרק זה, אדי ומאט לומדים איך לנפות באגים מסוג ES6 Promises בכלי לניפוי באגים חדש לגמרי ב-Chrome DevTools.
בהתאם לגרסת Chrome שלכם, יכול להיות שתצטרכו להפעיל את הכלי 'בודק ההבטחות'. פותחים את ההגדרות של כלי הפיתוח – ניסויים, בודקים את ההתחייבות של Promise ולאחר מכן מפעילים מחדש את DevTools.
[[["התוכן קל להבנה","easyToUnderstand","thumb-up"],["התוכן עזר לי לפתור בעיה","solvedMyProblem","thumb-up"],["סיבה אחרת","otherUp","thumb-up"]],[["חסרים לי מידע או פרטים","missingTheInformationINeed","thumb-down"],["התוכן מורכב מדי או עם יותר מדי שלבים","tooComplicatedTooManySteps","thumb-down"],["התוכן לא עדכני","outOfDate","thumb-down"],["בעיה בתרגום","translationIssue","thumb-down"],["בעיה בדוגמאות/בקוד","samplesCodeIssue","thumb-down"],["סיבה אחרת","otherDown","thumb-down"]],["עדכון אחרון: 2025-07-25 (שעון UTC)."],[],["Addy and Matt demonstrate debugging ES6 Promises with Chrome DevTools' Promises debugger. The process involves potentially enabling the Promise inspector within DevTools' settings under Experiments, which may require a restart of DevTools. It's also noted that the Promise inspector support has been removed in some versions of Chrome. The instructions can be found by following a link to Google Developers Channel.\n"]]