aboutsummaryrefslogtreecommitdiff
path: root/editors/code/src/debug.ts
diff options
context:
space:
mode:
authorSahandevs <[email protected]>2021-02-07 18:22:32 +0000
committerSahandevs <[email protected]>2021-02-07 18:22:32 +0000
commit1bb4e973ffaffd78a01ba5abb90096d11a2ddb42 (patch)
treec11a44377dcca59d241c45ceb7ae89a06358d8fd /editors/code/src/debug.ts
parent1d0e93b58ee3a43881526c9405ca0120fe6ddb20 (diff)
handle Thenable type rejects
Diffstat (limited to 'editors/code/src/debug.ts')
-rw-r--r--editors/code/src/debug.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/editors/code/src/debug.ts b/editors/code/src/debug.ts
index 874b858d9..0bbaae2b0 100644
--- a/editors/code/src/debug.ts
+++ b/editors/code/src/debug.ts
@@ -78,7 +78,8 @@ async function getDebugConfiguration(ctx: Ctx, runnable: ra.Runnable): Promise<v
78 78
79 if (!debugEngine) { 79 if (!debugEngine) {
80 vscode.window.showErrorMessage(`Install [CodeLLDB](https://marketplace.visualstudio.com/items?itemName=vadimcn.vscode-lldb)` 80 vscode.window.showErrorMessage(`Install [CodeLLDB](https://marketplace.visualstudio.com/items?itemName=vadimcn.vscode-lldb)`
81 + ` or [MS C++ tools](https://marketplace.visualstudio.com/items?itemName=ms-vscode.cpptools) extension for debugging.`); 81 + ` or [MS C++ tools](https://marketplace.visualstudio.com/items?itemName=ms-vscode.cpptools) extension for debugging.`)
82 .then(() => {}, console.error);
82 return; 83 return;
83 } 84 }
84 85