41 lines
1.0 KiB
JSON
41 lines
1.0 KiB
JSON
{
|
|
"id": "9439a27b-18ae-42d8-9778-5f68f891805e",
|
|
"snapshot": "vscode",
|
|
"instruction": "I want to keep my cursor focus in debug console when debugging in VS Code, instead of focusing back to Editor. So please help me modify the setting of VS Code accordingly.",
|
|
"source": "https://stackoverflow.com/questions/75832474/how-to-keep-cursor-in-debug-console-when-debugging-in-visual-studio-code",
|
|
"config": [
|
|
{
|
|
"type": "launch",
|
|
"parameters": {
|
|
"command": [
|
|
"code"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "activate_window",
|
|
"parameters": {
|
|
"window_name": "Visual Studio Code"
|
|
}
|
|
}
|
|
],
|
|
"trajectory": "trajectories/",
|
|
"related_apps": [
|
|
"vscode"
|
|
],
|
|
"evaluator": {
|
|
"func": "check_json_settings",
|
|
"expected": {
|
|
"type": "rule",
|
|
"rules": {
|
|
"expect": {"debug.focusEditorOnBreak": false}
|
|
}
|
|
},
|
|
"result": {
|
|
"type": "vm_file",
|
|
"path": "/home/user/.config/Code/User/settings.json",
|
|
"dest": "settings.json"
|
|
}
|
|
}
|
|
}
|