New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Gamelab respect debuggerDisabled #20245
Conversation
// NOTE: We will go back to using !config.level.debuggerDisabled soon, | ||
// but are testing with project levels only for now | ||
var breakpointsEnabled = config.level.isProjectLevel; | ||
var breakpointsEnabled = !config.level.debuggerDisabled; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This files looks good.
// If we were running atMaxSpeed and just reached a breakpoint, the | ||
// code may not be selected in the editor, so do it now: | ||
this.selectCurrentCode(); | ||
if (atMaxSpeed) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd like to see the highlighting bug behavior tested, but code looks good.
The preferred method of updating the levels would be to run a script on the LB machine since this can cause conflicts, but it looks like there aren't any Game Lab levels being edited on LB right now, so I think this could work. |
Looks like circle has a JS interpretor failure, related to this change? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm guessing Circle just failed to run properly and you just need to re-build it.
Trying to re-build on CircleCI - the last run hit this error inside
|
debuggerDisabled
level flag to determine when the debugger is disabled. All new levels created will have the debugger enabled by default. To simplify the transition, we've disabled the debugger in all of the existing Gamelab curriculum levels and level builders can go back and selectively choose to enable it where it makes sense.addMarker
andremoveMarker