|
@@ -29,11 +29,19 @@
|
|
|
<textarea id="output" class="w-full bg-white font-mono border border-black" rows="20" disabled></textarea>
|
|
|
</div>
|
|
|
</div>
|
|
|
+ <div class="col-span-3">
|
|
|
+ <div>
|
|
|
+ <input id="debug-stacks" type="checkbox" />
|
|
|
+ <label for="debug-stacks">Debug: Display Stack</label>
|
|
|
+ </div>
|
|
|
+ <div>
|
|
|
+ <input id="debug-code-box" type="checkbox" />
|
|
|
+ <label for="debug-code-box">Debug: Display Code Box</label>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
<!-- <canvas class="w-full h-full"></canvas> -->
|
|
|
<script>
|
|
|
const cb = new CodeBox("script", "stackInit", "output");
|
|
|
- cb.debug.print.codeBox = true;
|
|
|
- cb.debug.print.stacks = true;
|
|
|
</script>
|
|
|
</body>
|
|
|
</html>
|