Skip to content

Commit

Permalink
fix: the debug renderer to work with dec 2021 release (#945)
Browse files Browse the repository at this point in the history
  • Loading branch information
alschmiedt authored Dec 2, 2021
1 parent 2dd377a commit c8c1507
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion plugins/dev-tools/src/debugRenderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,9 @@ export class DebugRenderer {
* @public
*/
static init() {
Blockly.blockRendering.useDebugger = true;
Blockly.blockRendering.debug.startDebugger();
// TODO(google/blockly-samples##944): Remove this once #944 is complete.
Blockly.blockRendering.debug.stopDebugger();
Blockly.blockRendering.Debug = DebugRenderer;
}

Expand Down

0 comments on commit c8c1507

Please sign in to comment.