Skip to content

Commit af68fa7

Browse files
Dont set breakpoints for notebook cells
1 parent 3e43d4c commit af68fa7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

libs/vscode/debug/src/lib/idl-breakpoint-manager.class.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { CleanPath, ExtensionFileType } from '@idl/shared';
1+
import { CleanPath, IDLFileHelper } from '@idl/shared';
22
import { Breakpoint, BreakpointEvent, Source } from '@vscode/debugadapter';
33
import { DebugProtocol } from '@vscode/debugprotocol';
44

@@ -168,7 +168,7 @@ export class IDLBreakpointManager {
168168
await this.adapter._startup;
169169

170170
// return nothing if notebooks
171-
if (ExtensionFileType.isIDLNotebookFile(bps.source?.path || '')) {
171+
if (IDLFileHelper.isIDLNotebookFile(bps.source?.path || '')) {
172172
return [];
173173
}
174174

0 commit comments

Comments
 (0)