diff --git a/src/api/debug/index.ts b/src/api/debug/index.ts index 28be687b7..374ee0064 100644 --- a/src/api/debug/index.ts +++ b/src/api/debug/index.ts @@ -223,6 +223,7 @@ export async function initialise(instance: Instance, context: ExtensionContext) try { copyFileSync(selectedFile[0].fsPath, certificates.getLocalCertPath(connection)); localCertsOk = true; + vscode.window.showInformationMessage(`Certificate imported.`); } catch (e) { vscode.window.showErrorMessage(`Failed to import local certificate.`); } diff --git a/src/webviews/settings/index.js b/src/webviews/settings/index.js index 3fdbf4e97..3ca3f47a1 100644 --- a/src/webviews/settings/index.js +++ b/src/webviews/settings/index.js @@ -208,11 +208,6 @@ module.exports = class SettingsUI { field.description = `Default secure port is 8005. Tells the client which port the debug service is running on.`; ui.addField(field); - field = new Field(`checkbox`, `debugIsSecure`, `Debug securely`); - field.default = (config.debugIsSecure ? `checked` : ``); - field.description = `Tells the debug service to authenticate by server and client certificate. Ensure that the client certificate is imported when enabled.`; - ui.addField(field); - field = new Field(`checkbox`, `debugUpdateProductionFiles`, `Update production files`); field.default = (config.debugUpdateProductionFiles ? `checked` : ``); field.description = `Determines whether the job being debugged can update objects in production (*PROD) libraries.`; @@ -222,6 +217,11 @@ module.exports = class SettingsUI { field.default = (config.debugEnableDebugTracing ? `checked` : ``); field.description = `Tells the debug service to send more data to the client. Only useful for debugging issues in the service. Not recommended for general debugging.`; ui.addField(field); + + field = new Field(`checkbox`, `debugIsSecure`, `Debug securely`); + field.default = (config.debugIsSecure ? `checked` : ``); + field.description = `Tells the debug service to authenticate by server and client certificates. Ensure that the client certificate is imported when enabled.`; + ui.addField(field); } ui.addField(new Field(`hr`));