human-essentials icon indicating copy to clipboard operation
human-essentials copied to clipboard

Improve codespaces debugging

Open jimmyli97 opened this issue 8 months ago • 0 comments

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.

Screenshots

jimmyli97 avatar Jun 27 '24 01:06 jimmyli97