Bug Description
A clear and concise description of what the bug is.
Needs a repro. Not sure if this is a bug as I haven’t been able to reproduce as yet, but on a zoom call flashing this code via WebUSB produced an error on the device for line 6, but not in the editor.

How To Reproduce
- Connect via WebUSB
- Flash erroneous program to micro:bit
- See error on device but not in editor
- Repeat 2&3
We then fixed the code and flashed the device which works as expected, then introduced a different error (removing the colon : from while True and this errored as expected.
Expected behavior
Would expect error bar to show as with this example

Environment
Desktop (please complete the following information):
- OS: [e.g. iOS] Windows
- Browser [e.g. chrome, safari] Chrome
- Version [e.g. 22] 97
Additional context
Did not open the serial console to check to see if the error was present in the REPL.
Bug Description
A clear and concise description of what the bug is.
Needs a repro. Not sure if this is a bug as I haven’t been able to reproduce as yet, but on a zoom call flashing this code via WebUSB produced an error on the device for line 6, but not in the editor.
How To Reproduce
We then fixed the code and flashed the device which works as expected, then introduced a different error (removing the colon : from
while Trueand this errored as expected.Expected behavior
Would expect error bar to show as with this example

Environment
Desktop (please complete the following information):
Additional context
Did not open the serial console to check to see if the error was present in the REPL.