--localstorage-file=file


用于存储 localStorage 数据的文件。如果文件不存在,当第一次访问 localStorage 时会创建该文件。多个 Node.js 进程可以同时共享同一个文件。如果 Node.js 是使用 --no-webstorage(或 --no-experimental-webstorage)标志启动的,则此标志无效。

【The file used to store localStorage data. If the file does not exist, it is created the first time localStorage is accessed. The same file may be shared between multiple Node.js processes concurrently. This flag is a no-op if Node.js is started with the --no-webstorage (or --no-experimental-webstorage) flag.】