redhat-developer / redhat-developer/vscode-yaml

Launch Web Server is failing in local dev due to server crash

Open
#1,007 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
829
Forks
260
Avg merge
5h 43m
Merged PRs (30d)
1

Description

Describe the bug

I have been trying to get the vscode-yaml web extension in the debug mode. But the is server crashing

Expected Behavior

Following the Contributing.MD I opened a vscode window with vscode-yaml and added yaml-language-server folder to the workspace attached yaml-language-server and ran the task. Launch VSCode Web extension. A vscode debug mode window with an active yaml extension was expected.

Current Behavior

A debug window is opening with output channel YAML Support but the extension is not working. features autocomplete, format and syntactic validation.

Steps to Reproduce

  1. clone vscode-yaml and yaml-language-server to a folder
  2. edit vscode-yaml/package.json dependecy "yaml-language-server": "file:../yaml-language-server"
  3. run cd vscode-yaml and code . from the folder (This opens a vscode workspace with current working directory)
  4. add yaml-language-server folder to the vscode-yaml workspace by going to File -> Add Folder to Workspace
  5. select Run and Debug from the left SideBar of the workspace and Run task Attach to Server(yaml-language-server)
  6. Run task Launch Web Extension
  7. Click Debug Anyway when prompted

Environment

  • Windows
  • Mac
  • Linux
  • other (please specify)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with Contributing.MD and the package.json dependency setup described in the issue, then reproduce the Attach to Server(yaml-language-server) and Launch Web Extension tasks on macOS. Inspect the YAML Support output channel for the server failure. Done means the debug window has a working YAML extension with autocomplete, formatting, and syntactic validation.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript, vscode
Domain
developer-experience, devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.