-
Couldn't load subscription status.
- Fork 19
Integration with the Visual Studio 'Script Documents' Tree
Andrew Crawley edited this page Feb 1, 2018
·
1 revision
If a debug adapter supports dynamically loading documents (e.g. script files consumed by a JavaScript runtime), it can provide information regarding these documents to Visual Studio. These documents are shown under a "Script Documents" node in Solution Explorer.
To take advantage of this integration, debug adapters must:
- Send a
loadedSourceevent when a script document is loaded or unloaded.
If the loaded document corresponds to an item in the user's project, the sourceReference field should not be specified. Visual Studio will always treat items that specify a non-zero sourceReference as external.