Skip to content

Instantly share code, notes, and snippets.

@piscisaureus
Created July 5, 2013 18:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save piscisaureus/5936473 to your computer and use it in GitHub Desktop.
Save piscisaureus/5936473 to your computer and use it in GitHub Desktop.
:: Start collecting events into output.etl
logman start node -ow -p {77754E9B-264B-4D8D-B981-E4135C1ECB0C} -ets -o output.etl
:: Do stuff with node. All node processes are traced.
node myscript.js
:: Stop collecting events.
logman stop node -ets
:: Convert the log from binary format to xml. You can also do this while the collector is running.
tracerpt output.etl -o output.xml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment