-----Original Message-----
From: zerobrane-bounce@xxxxxxxxxxxxx [mailto:zerobrane-bounce@xxxxxxxxxxxxx]
On Behalf Of Paul K
Sent: vrijdag 4 december 2015 23:53
To: zerobrane@xxxxxxxxxxxxx
Subject: [ZeroBrane Studio] Re: print to debug console
without stopping.Yes, you can use "debugger.runonstart = true" to run after connecting
breaking from the code itself would be useful.Here as well; this is server side only. Allowing to connect without
don't dare tough that code as I know too little about the Lua debugger(I looked at the code to see whether I could come up with a PR, but I
capabilities)
Thijs, I see your point, but it's problematic to do in the application
for several reasons. At the point of connecting the debugging is not
fully setup yet as the controller (in the IDE) still needs to set
basedir and (optionally) configure "print" redirect and debugger
initialization. Since the application continues, it doesn't get the
chance to set the basedir, which breaks the interaction with the IDE.
It may still be fixed to allow basedir to become optional, but this
would (1) prevent breakpoints from working and (2) still require some
configuration server-side (to indicate that basedir doesn't need to be
sent).
Why would you not want to control this in the IDE? After all, this is
what the debugger controller is for...
Paul.