0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

【簡単】WSLでVSCodeのLive Serverが起動(ブラウザが自動で開く)しないときは?

Last updated at Posted at 2025-05-15

ついにLinuxデビューしました!!!
しかし「Live Server」が自動的に開かれないという現象が...
解決までに1時間かかったのでここに記しておきます!
※Windowsを使用しています。

対処法

Ctrl + Shift + Pを押す→Preferences: Open User Settings (JSON)
に以下を記述すればいいだけです!

"liveServer.settings.NoBrowser": false,
"liveServer.settings.Host": "0.0.0.0",
"liveServer.settings.CustomBrowser": "chrome",
"liveServer.settings.AdvanceCustomBrowserCmdLine": "explorer.exe"

無事に開けましたでしょうか!?
読んでいただきありがとうございました!!!

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?