-
Notifications
You must be signed in to change notification settings - Fork 201
Open
Description
My use case now is work with server which creates separate coroutine for each request.
So code looks like this
mobdebug.coro()
mobdebug.start()
mobdebug.off()
function handler() -- this function calls in coro
mobdebug.on()
....
mobdebug.off()
endIn this case I have small inconvenience.
Debugger interrupt execution of main thread just after mobdebug.start() returns.
But I really do not need this. I just need only connect to debugger and then
just turn on debugger in some functions.
So I suggest add one more argument to start
In my system i implement it just like if off then mobdebug.off() end before return true
inside start function and use it like
mobdebug.coro()
mobdebug.start(nil, nil, true)
function handler()
mobdebug.on()
....
mobdebug.off()
endMetadata
Metadata
Assignees
Labels
No labels