debugger: Fix Debugpy spawning & session removal (#28577)

Closes #ISSUE

Release Notes:

- N/A
This commit is contained in:
Piotr Osiewicz
2025-04-11 16:36:54 +02:00
committed by GitHub
parent 1164829cad
commit c7d3fbcac1
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -76,7 +76,7 @@ impl DebugAdapter for PythonDebugAdapter {
user_installed_path
} else {
let adapter_path = paths::debug_adapters_dir().join(self.name().as_ref());
let file_name_prefix = format!("{}_", Self::ADAPTER_PACKAGE_NAME);
let file_name_prefix = format!("{}_", Self::ADAPTER_NAME);
util::fs::find_file_name_in_dir(adapter_path.as_path(), |file_name| {
file_name.starts_with(&file_name_prefix)
@@ -291,7 +291,7 @@ impl LineBreakpoint {
.end_hover_slot(
IconButton::new(
SharedString::from(format!(
"breakpoint-ui-on-click-go-to-line-{:?}/{}:{}",
"breakpoint-ui-on-click-go-to-line-remove-{:?}/{}:{}",
dir, name, line
)),
IconName::Close,