debugger: Fix Debugpy spawning & session removal (#28577)
Closes #ISSUE Release Notes: - N/A
This commit is contained in:
parent
1164829cad
commit
c7d3fbcac1
2 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue