debug icon indicating copy to clipboard operation
debug copied to clipboard

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

Open kikonen opened this issue 2 years ago • 0 comments

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.

kikonen avatar Feb 20 '23 13:02 kikonen