You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/vs/vscode.proposed.d.ts
+6-4Lines changed: 6 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -588,18 +588,20 @@ declare module 'vscode' {
588
588
* A DebugSource is an opaque stand-in type for the [Source](https://microsoft.github.io/debug-adapter-protocol/specification#Types_Source) type defined in the Debug Adapter Protocol.
589
589
*/
590
590
exportinterfaceDebugSource{
591
-
// opaque contents
591
+
// Properties: see details [here](https://microsoft.github.io/debug-adapter-protocol/specification#Types_Source).
592
592
}
593
593
594
594
exportnamespacedebug{
595
595
596
596
/**
597
-
* Converts a "Source" object received via the Debug Adapter Protocol into a Uri that can be used to load its contents.
597
+
* Converts a "Source" descriptor object received via the Debug Adapter Protocol into a Uri that can be used to load its contents.
598
+
* If the source descriptor is based on a path, a file Uri is returned.
599
+
* If the source descriptor uses a reference number, a specific debug Uri (scheme 'debug') is constructed that requires a corresponding VS Code ContentProvider and a running debug session
598
600
*
599
-
* If the "Source" object has insufficient information to create a uri, an error is thrown.
601
+
* If the "Source" descriptor has insufficient information for creating the Uri, an error is thrown.
600
602
*
601
603
* @param source An object conforming to the [Source](https://microsoft.github.io/debug-adapter-protocol/specification#Types_Source) type defined in the Debug Adapter Protocol.
602
-
* @param session An optional debug session that will be used to locate the Debug Adapter Protocol.
604
+
* @param session An optional debug session that will be used when the source descriptor uses a reference number to load the contents from an active debug session.
603
605
* @return A uri that can be used to load the contents of the source.
0 commit comments