diff --git a/Python/Product/PythonTools/PythonTools/Debugger/ProvideDebugAdapterAttrributes.cs b/Python/Product/PythonTools/PythonTools/Debugger/ProvideDebugAdapterAttrributes.cs index f4adbc2f3b..87e98878cb 100644 --- a/Python/Product/PythonTools/PythonTools/Debugger/ProvideDebugAdapterAttrributes.cs +++ b/Python/Product/PythonTools/PythonTools/Debugger/ProvideDebugAdapterAttrributes.cs @@ -66,6 +66,14 @@ public override void Register(RegistrationContext context) { // engineKey.SetValue("PortSupplier", "{708C1ECA-FF48-11D2-904F-00C04FA302A1}"); engineKey.SetValue("AdapterLauncher", _adapterLauncherCLSID); + /* + * Modules request on attach behavior(optional) + * If a debug adapter supports the "modules" request, the Debug Adapter Host will issue a request to get + * the list of modules on attach. Some debug adapters automatically send a set of "module" events on + * attach and don't need the "modules" request, so it can be disabled by setting this property to "1". + */ + engineKey.SetValue("SuppressModulesRequestOnAttach", 1); + /* * Set to "1" if the debug adapter will use the VS "Exception Setting" tool window. The debug adapter's must * support one of the following: