
Visualize code and understand its behavior using breakpoints, including conditional ones. Reinforce your debugging skills through engaging code challenges.
Learn to understand code execution and run the code in your mind to speed up debugging, remember function returns, and visualize how JavaScript and Node.js behave with animated demonstrations.
Understand the basics of code execution in JavaScript by tracing function calls, returns, and value propagation with a simple sum example using increment ten and console.log.
Learn how to read and fix a type error in javascript by inspecting an uncaught type error, recognizing that final grade is a float, and removing the toLowerCase call.
Explore how a stack trace records the sequence of steps leading to an error, using a house of cards analogy to reveal where the failure occurred and what it means.
Navigate the code base by searching files to find functions, variables, or definitions, using ctrl shift f or command shift f to locate the get all users from database function.
Locate config and database files quickly using VS Code's file search and full-text search, including dot env references, to navigate large projects efficiently.
DataDog, Graylog, New Relic, Sentry, LogRocket
fix bugs in a simple multiplication table app using logs only, validating inputs, examining event listeners, and debugging HTML output with Chrome DevTools to track inner HTML changes.
Learn how to use conditional breakpoints to pause code execution only when a condition, such as score equals five, is met, using Postman for requests and guiding the debugging flow.
Use log points to debug without restarting the app, display results length with curly braces, and add logs on the fly without redeploying.
Learn debugger controls for JavaScript and Node.js, including breakpoints, conditional breakpoints, log points, step over, step into, step out, and using debug console in VS Code and Chrome dev tools.
Master debugging with the debug console to inspect and modify values, run functions, step over code, and filter results using breakpoints and queries.
Enable breakpoints and break on every caught exception to pause code execution at the error line, inspect the issue during debugging, and selectively skip node modules.
Learn how uncaught exceptions crash apps, and how debugging pauses execution to reveal the error. Compare bare code with express safety features and practice fixing bugs to prevent crashes.
Master debugging javascript and nodejs using the debugger, breakpoints, and watch panels. Walk through line by line, visualize values, and identify bugs in loops and returns.
Learn to read and debug badly named JavaScript code by using indentation, pretty printing with JSON.stringify, and a step-by-step debugger with breakpoints, watches, and focused output to understand logic.
Add log points in Chrome DevTools by right-clicking a line and selecting log point to print variables. Toggle the console with ESC and log additional messages as needed.
Learn Chrome DevTools debugger controls, including breakpoints, play, release, and disable all breakpoints, plus step over, step into, step out, and the combined step control for precise debugging.
Master the debugger console in DevTools, pause and inspect variables, step through functions, and use shortcuts like $0, $_, and copy to streamline debugging.
Pause code execution with Chrome DevTools by enabling break on caught and uncaught exceptions to pinpoint bugs, crashes, or freezes while debugging Ajax, fetch, or XHR requests.
Learn to pause code on any fetch, XHR, or Ajax request using Chrome DevTools breakpoints, or target a specific request by URL, aiding debugging of front-end requests.
Learn to pause code execution on event listeners using breakpoints, and selectively pause on click, mouse, or keyboard events to identify multiple listeners and tricky bugs.
Develop hands-on debugging skills in JavaScript by fixing syntax and reference errors using Chrome dev tools, breakpoints, and step-by-step code inspection.
```node app.js --inspect```
Learn to inspect and debug a webview on your iPhone from your Mac by enabling Web Inspector and using the Safari Develop menu for mobile debugging with live element editing.
Thank you so much!
Don't forget to review the course ;)
Welcome to Debugging Fundamentals with Javascript/NodeJS!
In this class, you will dive into the world of debugging, an indispensable skill for all developers. Whether you're a seasoned programmer or just starting out, mastering debugging techniques will significantly enhance your ability to identify, troubleshoot, and resolve issues in your code efficiently.
Here's what you'll be learning in this class:
How to read error messages
Understanding Stack Traces
Learning how to execute the code in your mind
Navigating in the codebase efficiently
Debugging using logs
Throubleshooting
VSCode Debugger
Chrome Dev Tools Debugger
Extra content:
Using Chrome DevTools with a NodeJS process
Using Safari to inspect a page in your phone
DRY - Don't Repeat Yourself
Debugging isn't just about fixing errors; it's about gaining a deeper understanding of how your code works and developing the problem-solving mindset crucial for success in the field of software development. Throughout this course, you will learn a variety of strategies, tools, and best practices to streamline your debugging process and become a more effective coder.
By the end of this course, you will emerge as a proficient debugger with the ability to triage bugs faster, understand code intricacies better, and ultimately, become a more confident and resourceful developer.
Debugging is a must-have skill that will propel your career to new heights.
Enroll now and embark on your journey to become a better debugger.