Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 15 additions & 4 deletions debug_adapter_schemas/rdbg.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,23 @@
{
"type": "object",
"required": ["request"],
"properties": {
"request": {
"type": "string",
"description": "Type of debug session",
"enum": ["launch", "attach"],
"default": "launch"
},
"script_or_command": {
"type": "string",
"description": "Either a script path or command name (auto-detected)"
},
"command": {
"type": "string",
"description": "Command name (ruby, rake, bin/rails, bundle exec ruby, etc)"
},
"script": {
"type": "string",
"description": "Absolute path to a Ruby file."
"description": "Absolute path to a Ruby file"
},
"cwd": {
"type": "string",
Expand All @@ -24,8 +34,9 @@
},
"env": {
"type": "object",
"description": "Additional environment variables to pass to the debugging (and debugged) process",
"description": "Additional environment variables",
"default": {}
}
}
},
"additionalProperties": false
}