cwgreene / quantum

Javascript Library for Quantum simulation
MIT License
1 stars 0 forks source link

Debug comments #3

Open cwgreene opened 8 years ago

cwgreene commented 8 years ago

Comments of the form

//DEBUG: console.log(this.real)

should become enabled when debugging. This will also allow for obvious default breakpoints.

cwgreene commented 8 years ago

What would be much nicer would be unittest trace mode, which would give a large amount of debug information in the sequence of system transformations associated with the failing assert. This would be pretty awesome. Might require hacking on Istanbul to make it work.