Presentations
Templates
Features
Teams
Pricing
Log in
Sign up
Log in
Sign up
Menu
Joshua Lin (
@konekoya
)
Debugging JavaScript Apps
Debugging tips
Chrome Developer Tools is your best bet
Utilize breakpoints and console.log wisely
Tweak HTML & CSS in Element panel
Isolate/break down the issue
Ensure the bug can be reproduce
Breakpoints
Step into/over/out
Watch variables
Debugger keyword
Little tipsĀ
Edit, delete and play around in element panel
Scroll into view
$0-$?
console.log({ x }) and console.table()
Debugging in slower network speed
Styles and computed panels
Preserve logs and disable cache
Debugging JavaScript Apps
By konekoya
Made with Slides.com
Debugging JavaScript Apps
136
konekoya
Hi, I'm Joshua, a Front-end dev from is-land system.
konekoya.github.io
konekoya
More from
konekoya