Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Build and run 32bit Code OSS on Windows

Jeong Jinwoo edited this pageSep 8, 2024 ·3 revisions

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:

  1. Follow theregular contributing guide and make sure you can get the 64bit version of VS Code running locally.
  2. Stop any running processes from the regular contributing guide.
  3. Start a PowerShell session in thevscode directory that you cloned.
  4. rungit clean -fdx - remove downloaded election, removenode_modules, remove anything that isn't checked in to the repo
  5. run$env:npm_config_arch = 'ia32' - let npm know that you want to build the 32bit version
  6. runnpm i - install dependencies
  7. runnpm run electron ia32 - download the 32bit of electron
  8. 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).

Want to contribute to this Wiki?

Fork it and send a pull request.

Clone this wiki locally

[8]ページ先頭

©2009-2025 Movatter.jp