| 791 | |
| 792 | |
| 793 | def DebugInfo( self ): |
| 794 | debug_info = '' |
| 795 | if self._client_logfile: |
| 796 | debug_info += f'Client logfile: { self._client_logfile }\n' |
| 797 | extra_data = {} |
| 798 | self._AddExtraConfDataIfNeeded( extra_data ) |
| 799 | debug_info += FormatDebugInfoResponse( SendDebugInfoRequest( extra_data ) ) |
| 800 | debug_info += f'Server running at: { BaseRequest.server_location }\n' |
| 801 | if self._server_popen: |
| 802 | debug_info += f'Server process ID: { self._server_popen.pid }\n' |
| 803 | if self._server_stdout and self._server_stderr: |
| 804 | debug_info += ( 'Server logfiles:\n' |
| 805 | f' { self._server_stdout }\n' |
| 806 | f' { self._server_stderr }' ) |
| 807 | debug_info += ( '\nSemantic highlighting supported: ' + |
| 808 | str( not vimsupport.VimIsNeovim() ) ) |
| 809 | debug_info += ( '\nVirtual text supported: ' + |
| 810 | str( not vimsupport.VimIsNeovim() ) ) |
| 811 | debug_info += ( '\nPopup windows supported: ' + |
| 812 | str( vimsupport.VimSupportsPopupWindows() ) ) |
| 813 | return debug_info |
| 814 | |
| 815 | |
| 816 | def GetLogfiles( self ): |