(enabled: boolean)
| 1034 | } |
| 1035 | |
| 1036 | public setSendLogsToClient(enabled: boolean) { |
| 1037 | // Only send values for sessions that didn't already have logging enabled. |
| 1038 | debugSessions.filter((d) => !d.session.configuration.sendLogsToClient).forEach(async (session) => { |
| 1039 | try { |
| 1040 | await session.session.customRequest("updateSendLogsToClient", { |
| 1041 | enabled, |
| 1042 | }); |
| 1043 | } catch { |
| 1044 | // Older SDKs don't support this, so just do nothing. |
| 1045 | } |
| 1046 | }); |
| 1047 | } |
| 1048 | |
| 1049 | private updateRunnableContexts(): void { |
| 1050 | const editor = vs.window.activeTextEditor; |
no test coverage detected