--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.