These days I'm trying to tweak a 3rd-party framework and I'm missing stuff sometimes (e.g. injected data). Below are some methods I've found useful when debugging the script.
- console.log - print all things
- Object inspection - see your object's content
HTH,
Member discussion: