"runtimeArgs": [ "--disable-web-security", "--user-data-dir=D:/ChromeTemp", ],
D:/ChromeTemp需要先创建好,也可以改成别的路径。 然后在vscode中按F5调试即可。
D:/ChromeTemp