You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However with this in conjunction with RUBY_DEBUG_OPEN=true RUBY_DEBUG_SOCK_PATH=tmp/rdbg.sock rails s, I'm always the following error when trying to Attach to the started process.
I would have expected the config to look up the file relative to the workspace root directory? Using an absolute path to the same folder works: "debugPort": "/Users/louis-michel.couture/work/my_project/tmp/rdbg.sock",.
I also tried:
"debugPort": "./tmp/rdbg.sock",
"debugPort": "../tmp/rdbg.sock", thinking it was maybe relative to the launch.json location.
But both of those didn't work.
The text was updated successfully, but these errors were encountered:
ono-max
added a commit
to ono-max/vscode-rdbg
that referenced
this issue
Jun 3, 2023
Hello, this issue is related to ruby/debug#982.
Since the autogenerated socket name was too long, I decided to use a local socket path:
However with this in conjunction with
![Screenshot 2023-05-19 at 7 31 22 PM](https://private-user-images.githubusercontent.com/923718/239655277-5731eec9-17eb-4f8d-b621-90f6bd539d02.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk2NTg3MTMsIm5iZiI6MTczOTY1ODQxMywicGF0aCI6Ii85MjM3MTgvMjM5NjU1Mjc3LTU3MzFlZWM5LTE3ZWItNGY4ZC1iNjIxLTkwZjZiZDUzOWQwMi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjE1JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxNVQyMjI2NTNaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1iN2VkMmE4OTU0ODY1NGJiNzA2NjE1N2UyZjU5Y2VjN2JiYTFiNjk3MzE4NzE0NTM5OWFiYzZlODgxMGQxZGQ5JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.YBurpaA8IjY7xMFU3V4P1UzaLkayLFuprfhZrIh-878)
RUBY_DEBUG_OPEN=true RUBY_DEBUG_SOCK_PATH=tmp/rdbg.sock rails s
, I'm always the following error when trying to Attach to the started process.I would have expected the config to look up the file relative to the workspace root directory? Using an absolute path to the same folder works:
"debugPort": "/Users/louis-michel.couture/work/my_project/tmp/rdbg.sock",
.I also tried:
"debugPort": "./tmp/rdbg.sock",
"debugPort": "../tmp/rdbg.sock",
thinking it was maybe relative to the launch.json location.But both of those didn't work.
The text was updated successfully, but these errors were encountered: