博客 / 列表

iapplus - electron多個窗口使用各自的remote-debug-port,目前是一個應用一個remote-debug,如何解決?

const { app, BrowserWindow } = require('electron'); // Add custom command line arguments before app is ready app.commandLine.appendSwitch('host-rules', 'MAP example.com 127.0.0.1'); app.commandLine.a

nodejs爬蟲 , electron