mirror of
https://github.com/robertkrimen/otto
synced 2025-10-26 20:28:49 +08:00
Merge pull request #142 from deoxxa/add-debugger-hook
add a way to trigger something with `debugger`
This commit is contained in:
@@ -54,6 +54,7 @@ type _runtime struct {
|
||||
scope *_scope
|
||||
otto *Otto
|
||||
eval *_object // The builtin eval, for determine indirect versus direct invocation
|
||||
debugger func(*Otto)
|
||||
|
||||
labels []string // FIXME
|
||||
lck sync.Mutex
|
||||
|
||||
Reference in New Issue
Block a user