Closed damiandominella closed 4 years ago
I've also tried with Ctrl + D, or by clicking the Debug menu options, but I obtain the following error:
Astilectron says: {"name":"menu.item.event.clicked","targetID":"8","menuItemOptions":{"checked":true,"enabled":true,"label":"Debug","visible":true}} panic: runtime error: invalid memory address or nil pointer dereference
@damiandominella I know you only posted a snippet of your code, but it doesn't look like you assign a value to w
. Have you done this assignment?: https://github.com/asticode/go-astilectron-demo/blob/master/main.go#L79
@iangallOlive I was missing that part by removing the OnWait property, now I can correctly access the w
. Thanks.
I'm trying to open the console in my application window, using the method
w.OpenDevTools()
but I cannot make it. I'm maybe doing something wrong when trying to use thew
object?