Skip to content

Commit

Permalink
Trigger start debug from editor title.
Browse files Browse the repository at this point in the history
  • Loading branch information
zobo committed Sep 28, 2021
1 parent c2c175d commit e9e4b85
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -427,6 +427,21 @@
"php.executablePath"
]
}
}
},
"menus": {
"editor/title/run": [
{
"command": "workbench.action.debug.start",
"when": "resourceLangId == php"
}
]
},
"commands": [
{
"command": "workbench.action.debug.start",
"title": "Debug PHP",
"icon": "$(debug-alt-small)"
}
]
}
}

0 comments on commit e9e4b85

Please sign in to comment.