llnode
llnode copied to clipboard
"v8 version" or "llnode --version"
Today there's no easy way to get llnode's version, making it harder to report issues with detailed information. We could either have a llnode command v8 version
or a command line argument --version
reporting llnode's version, maybe showing LLDB's version as well.
Having an v8 version
should be enough, --version
of the llnode
may just redirect the output to stdout somehow.
Technically we could read package.json in the configuration scripts and compile the version numbers into the plugin...otherwise if we maintain something in the source code we could forget about updating it.
We use bumpversion here at Sthima to easily bump versions in our projects. It is a Python tool though, and I'm not aware of any similar tool for Node.js :(
But I think reading from package.json might be feasible as well.
I was looking into this and trying to replace the version from package.json file but I am having difficulty to figure out from where, the message "lldb version X.X.X" is being outputted on the console when I run "llnode -v" etc.