Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Safari App Extension is break point not work, not able to debug the code

I want to create a new Safari extension to get images. but as apple remove the facility Safari -> Develop -> Show extension builder. So, I am trying to create wit xCode -> macOS -> Safari App extension but I am unable how to debug the. Please guide me how I can debug my code.

Because button added in toolbar but nothing happen in code level.

like image 928
Karamjeet Singh Avatar asked Oct 21 '25 05:10

Karamjeet Singh


1 Answers

I got my breakpoint to work in Xcode by attaching to running extension process. Look at your Xcode Menu->Debug->Attach to Process->{Your extension name}.

like image 68
MegaChan Avatar answered Oct 26 '25 04:10

MegaChan