VSCode debugger exits with status 1 when emoji used
Nobody has claimed this yet.
- Dominant language
- Ruby
- Stars
- 2k
- Forks
- 281
- Avg merge
- 2h 14m
- Merged PRs (30d)
- 6
Description
Operating System
Mac OS Sonoma (14.1.2)
Ruby version
3.2.2
Project has a bundle
- Has bundle
Ruby version manager being used
other (please specify in description)
Description
I believe that this is related to https://github.com/Shopify/ruby-lsp/issues/1494. When I attempt to start a debugging session of this simple example:
# test.rb
x = 1
puts "Hello world x=#{x}"
# puts "I wonder what in the 🌎 is going on?"
The debugger will immediately bring up a dialog stating "Debugger exited with status 1." No further information appears in the "output channel".
Remove the line with the emoji and the debugger will function as expected.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the minimal test.rb example and reproduce the VSCode debugging session on macOS with the emoji line enabled, then compare it with the working version without that line. Read the related ruby-lsp issue 1494 for context; done means the debugger no longer exits with status 1 and provides usable output for this example.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ruby, vscode
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100