WarsawJS Presentation: Template

We talk about JavaScript. Each month in Warsaw, Poland.

Piotr Zientara

Debugging JS

2015-09-16

@Piotr_Zientara

Why do we need to debug?

Often, when JavaScript code contains errors, nothing will happen. There are no error messages, and you will get no indications where to search for errors.

source: W3 Schools

#debuggingJS

Methods of debugging

What caused that bug?

Logging methods

Sad developer's console

Examining code

On load vs on ready

                $( document ).ready(function() {
                  // code 1
                })
            
                $( window ).load(function() {
                  // code 2
                })
            

Learn about methods and your framework

Usuall error

Difficult detection?

The double miracle

Why we make typos?

Do you want to be a ninja programmer?

Fulfil your dreams!

Visit Geek Typer

The debugger tool in modern browsers

Removing code methods

when all methods fail, the new plan A!

STATS

Presentations

Meetup

Social Networks

YouTube

YouTube Exceptional talks

This year orginizers

See you next month at WarsawJS

Fork me on Github

Fullscreen