提交 10c1838b 编写于 作者: I isidor

Debug: prevent breakpoints on left hand side diff editor or readonly editor

fixes #18647
上级 00e26575
......@@ -407,7 +407,7 @@ export class ConfigurationManager implements debug.IConfigurationManager {
}
public canSetBreakpointsIn(model: IModel): boolean {
if (model.uri.scheme === Schemas.inMemory) {
if (model.uri.scheme !== Schemas.file && model.uri.scheme !== Schemas.debug) {
return false;
}
if (this.configurationService.getConfiguration<debug.IDebugConfiguration>('debug').allowBreakpointsEverywhere) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册