The reason why vscode cannot be started offline:
Caused by the core of Electron (Electron is a cross-platform desktop application development tool released by GitHub).
Solution:
The current effective way to solve this problem is to enable the loopback adapter. When the computer is not plugged in a network cable, you can use the loopback adapter to virtualize a network. For programmers to test, especially in offline development environment!
How to enable the loopback adapter:
1. Open the Device Manager, select your PC and click Add Obsolete Hardware under Operations
2. After the Add Hardware Wizard pops up, the next step is
3. Select manual installation
4. Select the network adapter
5. Select the Microsoft KM-TEST loopback adapter in Microsoft and continue until the installation is complete
Recommended tutorial: vscode tutorial
The above is the detailed content of How to start vscode offline. For more information, please follow other related articles on the PHP Chinese website!