Skip to content

Commit dc67c4e

Browse files
debugging restart kernel and run all cells btn
1 parent d75de07 commit dc67c4e

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

kernel/src/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@ const kernelPlugin: JupyterLiteServerPlugin<void> = {
3939
},
4040
},
4141
create: async (options: IKernel.IOptions): Promise<IKernel> => {
42-
42+
43+
console.log("CREATED NEW EMBEDDED KERNEL...")
4344
const serviceContainer = new ServiceContainer()
4445
await serviceContainer.init();
4546

kernel/src/kernel.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ export class EmbeddedKernel extends BaseKernel {
4040
}
4141

4242
async interrupt(): Promise<void> {
43+
console.log("Kernel Interrupt Requested!")
4344
await this.serviceContainer.deviceService.sendInterrupt();
4445
}
4546

0 commit comments

Comments
 (0)