Q: How I could make UUID for browser connection static, aka. define via ENV variable

Open
#902 0 comments 0 reactions 1 assignee View on GitHub

@ono-max is already working on this.

Since Mar 7, 2023.

Assessment

This issue has not been assessed yet.

Description

Your proposal

Using "rerun" gem in docker container to automatically restart application. Since debug gem shuffles always new random uuid for remote devtools connection, this makes debugger rather unusable, since after every code change have to paste new URL into web browser to reconnect.

Thus please add RUBY_DEBUG_UUID to be used for "devtools" connect, thus allow defining static UUID which then won't break in every time "rerun" reloads app

Additional context

Trying to use debug with remote debug with docker compose managed docker containers, running app in localhost instead of docker container is not an option.

Static UUID would allow also making browser bookmark for debugger, this transient always changing one, makes also that non possible.

Dominant language
Ruby
Stars
1.3k
Forks
146
PR merge metrics
No merged PRs in 30d

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.

More from ruby/debug

All issues in ruby/debug

Similar issues

More Ruby issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.