You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Building and running the 32bit version of Visual Studio Code on 64bit Windows
Every so often, you may need to debug an issue that only appears in the 32bit version of VS Code but you’re running 64bit Windows. To get a local build of the 32bit VS Code that you can debug, do the following:
Follow the regular contributing guide and make sure you can get the 64bit version of VS Code running locally.
Stop any running processes from the regular contributing guide.
Start a PowerShell session in the vscode directory that you cloned.
run git clean -fdx – remove downloaded election, remove node_modules, remove anything that isn’t checked in to the repo
run $env:npm_config_arch = 'ia32' – let npm know that you want to build the 32bit version
run npm i – install dependencies
run npm run electron ia32 – download the 32bit of electron
run .\scripts\code.bat – start VS Code
You should be able to go into the About section and see that you’re running the 32bit version of VS Code.
From here, everything else works the same (i.e. “Launch VS Code” task in codebase, Build task, etc).