Fork me on GitHub

vAnnotate

Annotate Javascript code with variable values at runtime

vAnnotate shows you what values your variables have during runtime.

It logs variable assignments, function calls, etc. during execution and then overlays the source code with the collected data.

Here's an example - hover over the variables to see their values:

function add(a, b){
    return a + b;
}

var sum = add(3,4);
sum *= 5;

Here the Underscore.JS code annotated by running the unit tests.


vAnnotate on Github