While digging into my static site project, I wanted to capture something I 
got working the other day using WebStorm (I am on the free 30-day trial :) 
). They have a profiling tool called spy-js, and it shows some interesting 
things, although ultimately it didn't give me the detail I wanted 
(especially on parameter contents on method calls). However, I did gain 
some insight into how TW5 works that helps flesh out the architectural 
documentation I've read (which isn't all of it, yet).

I am thinking njsTrace <https://github.com/valyouw/njstrace> (open source, 
which is better) may be a better choice. Has anyone here used it to trace 
TW under node?

Anyway, just in case anyone else stumbles across this doing a search, here 
is how I set up the "run profile" (with my userid in the Users directory 
elided). It is with node installed per default on Windows and *npm install 
tiddlywiki *run under my own user id, with the actual TW set up in a 
sandbox location.

<https://lh6.googleusercontent.com/-rNs61-gobIw/VICNiMp1EtI/AAAAAAABO-c/D4EIVm0orjg/s1600/WebStorm%2BSpy-Js%2Bfor%2BNode%2BRun%2BConfiguration.JPG>

Here is a sample of the output;

<https://lh6.googleusercontent.com/-FwWWcOQJ_fk/VICOP6kiF4I/AAAAAAABO-o/8gQUvHzzS6U/s1600/Spy-Js%2BResults.JPG>
Hopefully someone finds this useful or interesting, at least.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.

Reply via email to