--localstorage-file=file


用于存储 localStorage 数据的文件。如果文件不存在,则在第一次访问 localStorage 时创建它。同一个文件可以同时在多个 Node.js 进程之间共享。除非 Node.js 使用 --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 unless Node.js is started with the --experimental-webstorage flag.