Open ctrl+shift+p
And type preferneces:open json settings
Add the code
"github.copilot.advanced": { "debug.useNodeFetcher": true, "debug.useElectronFetcher": true }
And then restart the vscode
Now you can chat with github copilot