human-essentials
human-essentials copied to clipboard
Improve codespaces debugging
Description
Adds debug gem for debugging with VSCode Shopify Ruby LSP extension and rdbg Adds additional documentation on debugging using VSCode Shopify extension and on making port visible
Motivation
The debugger with the most features in Codespaces and VSCode is Shopify's Ruby LSP extension. Also, clarifies that you need to set the port to Public visibility in Codespaces so that the webpage can be visited from the browser.
Hopefully, this makes it even easier to get started in Codespaces.
Dependencies
gem "debug", ">= 1.0.0"
Type of change
- New feature (non-breaking change which adds functionality)
- This change requires a documentation update
- Documentation update
How Has This Been Tested?
Ran Shopify Ruby LSP debugger and attached to the server as per documentation in VSCode and in Codespaces.