-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Build and run 32bit Code OSS on Windows
josola edited this page Mar 20, 2021
·
2 revisions
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, removenode_modules
, remove anything that isn't checked in to the repo - run
$env:npm_config_arch = 'ia32'
- let yarn know that you want to build the 32bit version - run
yarn
- install dependencies - run
yarn 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).
Project Management
- Roadmap
- Iteration Plans
- Development Process
- Issue Tracking
- Build Champion
- Release Process
- Running the Endgame
- Related Projects
Contributing
- How to Contribute
- Submitting Bugs and Suggestions
- Feedback Channels
- Source Code Organization
- Coding Guidelines
- Testing
- Dealing with Test Flakiness
- Contributor License Agreement
- Extension API Guidelines
- Accessibility Guidelines
Documentation