launch.jsonをWSL→Windowsブラウザ構成に切り替え#370
Merged
Merged
Conversation
WSL2環境からWindows側のChrome/Edgeを起動できる構成を追加。 runtimeExecutableに/mnt/c/...経由でWindowsバイナリを指定し、 userDataDirを分離して既存ブラウザセッションとの衝突を回避。 .gitignoreにデバッグプロファイル用ディレクトリを追加。
Owner
Author
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
There was a problem hiding this comment.
Pull request overview
WSL2 上で VS Code を使いながら、Windows 側の Chrome / Edge を起動して localhost のアプリを閲覧・デバッグできるようにするための launch 構成を追加する PR です(既存のホストマシン向けエントリは維持しつつ、(WSL → Windows) サフィックスで追加)。
Changes:
.vscode/launch.jsonに Windows 側 Chrome / Edge を起動する launch 設定を追加(runtimeExecutable+userDataDir).gitignoreにデバッグ用プロファイルディレクトリ(userDataDir)を追加して、ワークスペース汚染を回避
Reviewed changes
Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| .vscode/launch.json | WSL から Windows ブラウザ(Chrome/Edge)を起動するデバッグ構成を追加 |
| .gitignore | デバッグ用 userDataDir ディレクトリを Git 管理対象外に追加 |
WSL→Windows構成のみを残し、Firefox/ホスト用Chrome/Edgeエントリを削除。 サフィックスを外して名前をシンプル化。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
概要
WSL2 環境で VS Code を動かし、Windows 側ブラウザでアプリを閲覧・デバッグするための launch 構成に切り替えます。ホストマシン直接実行を前提とした既存エントリは削除し、WSL→Windows 構成に統一します。
変更内容
設計判断
動作確認の前提
補足
ソースマップ越しにブレークポイントを使う場合は `sourceMapPathOverrides` の追加が必要な場合あり。今回は閲覧用途のため未追加。