.vscode/launch.json in arql-0.4.2 vs .vscode/launch.json in arql-0.4.3
- old
+ new
@@ -4,20 +4,36 @@
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "rdbg",
- "name": "Debug current file with rdbg",
+ "name": "Debug Arql",
"request": "launch",
"script": "exe/arql",
"command": "bundle exec",
"useTerminal": true,
- "args": ["-e", "jicai.prod"],
+ "args": [
+ "-e",
+ "${input:env}"
+ ],
"askParameters": false
},
{
"type": "rdbg",
"name": "Attach with rdbg",
"request": "attach"
+ }
+ ],
+ "inputs": [
+ {
+ "id": "env",
+ "type": "command",
+ "command": "extension.commandvariable.pickStringRemember",
+ "args": {
+ "fileName": "${userHome}/.arql.d/init.yml",
+ "pattern": {
+ "regexp": "^([\\w\\.]+):.*"
+ }
+ }
}
]
}
\ No newline at end of file