================
@@ -60,6 +61,15 @@ export class LLDBDapServer implements vscode.Disposable {
}
this.serverInfo = new Promise((resolve, reject) => {
+ if (os.platform() === "win32") {
+ const pythonCheckProcess = child_process.spawnSync(dapPath,
["--check-python"]);
+ if (pythonCheckProcess.stderr) {
+ vscode.window.showErrorMessage(
+ `Python is not installed correctly. Please install it to use
lldb-dap.\n${pythonCheckProcess.stderr}`
----------------
DrSergei wrote:
Add `{modal: true}` as second argument if you want window instead of small
notification
https://github.com/llvm/llvm-project/pull/181124
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits