Commit ca5a38b
authored
Ensure cwd actually has a default (#127)
Turns out, the default cwd was getting set on the JSON config after we
had already deserialized it into a RubyDebugConfig. This meant there was
not in fact a default cwd, so if a config failed to specify, the launch
would fail with a cryptic:
>process exited before debugger could connect
This is because bundle/rdbg would immediately exit, as it was being run
from the home directory, not the project's directory.
closes #1261 parent 97b120f commit ca5a38b
1 file changed
+5
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
166 | 166 | | |
167 | 167 | | |
168 | 168 | | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
169 | 174 | | |
170 | 175 | | |
171 | 176 | | |
| |||
213 | 218 | | |
214 | 219 | | |
215 | 220 | | |
216 | | - | |
217 | | - | |
218 | | - | |
219 | | - | |
220 | | - | |
221 | 221 | | |
222 | 222 | | |
223 | 223 | | |
| |||
0 commit comments