Traces Node fs calls to files with given path substring and logs requests and results into <tmpdir>/tracefs.log
npm install tracefs
tracefs -e :pathSubstring node ./myscript
or
tracefs -e trace.log:pathSubstring node ./myscript
Copyright © 2019 SysGears (Cyprus) Limited. This source code is licensed under the MIT license.