@@ -132,8 +132,13 @@ export class RSPServerProvider extends AbstractServer {
132132 }
133133
134134 public async createLocalServer ( serverPath : string , serverName : string , webView = false ) : Promise < void > {
135+ log . info ( `Creating new local server at ${ serverPath } ` ) ;
135136 const quick = await this . getCreateNewServerBox ( ) ;
136137 await quick . selectQuickPick ( 'No, use server on disk' ) ;
138+ log . info ( `Selected use server on disk` ) ;
139+
140+ log . info ( `Awaiting possible file manager input box` ) ;
141+
137142 // it might happen, depending on vscode settings, that native file manager dialog wont appear
138143 // instead we got input box where we can search for files
139144 try {
@@ -144,7 +149,9 @@ export class RSPServerProvider extends AbstractServer {
144149 log . warn ( `InputBox bar did not appear, ${ error . name } ` ) ;
145150 throw error ;
146151 }
152+
147153 // might get secure storage input box
154+ log . info ( `Awaiting possible secure storage prompt` ) ;
148155 try {
149156 const secureStorage = await InputBox . create ( ) ;
150157 const indexOf = ( await secureStorage . getMessage ( ) ) . indexOf ( 'secure storage' ) ;
@@ -157,6 +164,7 @@ export class RSPServerProvider extends AbstractServer {
157164 // Since rsp-ui 0.23.9 there is by default new webView now
158165 // can be turned off by setting property: rsp-ui.newserverwebviewworkflow = false
159166 if ( webView ) {
167+ log . info ( `Filling out new server details via webview` ) ;
160168 await VSBrowser . instance . driver . wait ( async ( ) => editorIsOpened ( 'New Server' ) , 3000 ) ;
161169 const editorView = new EditorView ( ) ;
162170 const editors = await editorView . getOpenEditorTitles ( ) ;
@@ -168,12 +176,14 @@ export class RSPServerProvider extends AbstractServer {
168176 await serverView . setServerId ( serverName ) ;
169177 await serverView . finish ( ) ;
170178 } else {
179+ log . info ( `Filling out new server details via input box` ) ;
171180 const nameInput = await InputBox . create ( ) ;
172181 await nameInput . setText ( serverName ) ;
173182 await nameInput . confirm ( ) ;
174183 const optionsInput = await InputBox . create ( ) ;
175184 await optionsInput . selectQuickPick ( 'No' ) ;
176185 }
186+ log . info ( `Done creating new server from local disk` ) ;
177187 }
178188
179189 public async createServer ( testServer : ServerTestType ) : Promise < void > {
0 commit comments