ritwickdey / vscode-live-server

Launch a development local Server with live reload feature for static & dynamic pages.
https://ritwickdey.github.io/vscode-live-server
MIT License
5.81k stars 1.28k forks source link

JSON file corrupted. #2088

Open kwelshgithub opened 3 years ago

kwelshgithub commented 3 years ago

Issue Type: Performance Issue

Json file appears to be corrupted. it has mistakes in the file

Live Server not opening in visual studio code

Chrome 2019 macbook pro Macos Chrome debugger installed live server chrome extension installed

Json file has three mistakes.

workbench.colorTheme": "Default High Contrast", "editor.linkedEditing": true, "liveServer.settings.donotShowInfoMsg": true, "liveServer.settings.donotVerifyTags": true, "editor.formatOnSave": true, "editor.defaultFormatter": "esbenp.prettier-vscode", "settingsSync.ignoredSettings": ["editor.defaultFormatter"], "liveServer.settings.port": "liveServer.settings.ChromeDebuggingAttachment": true, "liveServer.settings.AdvanceCustomBrowserCmdLine": "", "liveServer.settings.CustomBrowser": "chrome", "liveServer.settings.fullReload": true, "liveServer.settings.root": "", "liveServer.settings.useWebExt": true, "liveServer.settings.useLocalIp": true }

Extension version: 5.6.1 VS Code version: Code 1.60.2 (Universal) (7f6ab5485bbc008386c4386d08766667e155244e, 2021-09-22T11:59:27.195Z) OS version: Darwin x64 20.6.0 Restricted Mode: No

ryanaltvater commented 3 years ago

One issue appears to be that you're missing a comma after "liveServer.settings.port":.