--localstorage-file=file


稳定性: 1.2 - 候选发布版本。使用 --experimental-webstorage 启用此 API。

用于存储 localStorage 数据的文件。如果该文件不存在,会在第一次访问 localStorage 时创建。多个 Node.js 进程可以同时共享同一个文件。

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