adhere to DAP spec; fixes #114229
This commit is contained in:
parent
e776f87e14
commit
3f37b664fc
1 changed files with 1 additions and 1 deletions
|
@ -152,7 +152,7 @@ export abstract class ExtHostDebugServiceBase implements IExtHostDebugService, E
|
|||
|
||||
const source = <any>src;
|
||||
|
||||
if (typeof source.sourceReference === 'number') {
|
||||
if (typeof source.sourceReference === 'number' && source.sourceReference > 0) {
|
||||
// src can be retrieved via DAP's "source" request
|
||||
|
||||
let debug = `debug:${encodeURIComponent(source.path || '')}`;
|
||||
|
|
Loading…
Reference in a new issue