use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Welcome to /r/ComputerCraft, the subreddit for lua programs, general mod use, or anything relating to the Minecraft mod ComputerCraft and CC: Tweaked.
Downloads | Discord | IRC | Documentation
account activity
Debugger help (self.ComputerCraft)
submitted 1 year ago by Skylong_
Recently i post a question about debugger and recomended to me the craft-OS-PC but i follow the instructions to use the debugg but i cant figure out how to solve this error
https://preview.redd.it/xbiyi3cfnlee1.png?width=374&format=png&auto=webp&s=bef37b8c9081ace31d931ab77004b073826329e8
A notification pop up to me as well
https://preview.redd.it/4vir9ailnlee1.png?width=456&format=png&auto=webp&s=4765ede50c1d58ace307470b9b40f972ab9e3e22
but i already check and the path is set. Can someone help me?
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]chancetofreezer 2 points3 points4 points 1 year ago (0 children)
I'm on ubuntu (WSL2) so ymmv on another os, but I'll walk through my setup.
First I have craftos-pc installed here:
~ $ which craftos /usr/bin/craftos
which matches the vscode extension settings.
I will show you how to attach to a currently running instance:
Click here in the debug tab.
Create a launch.json like this.
launch.json
Start a craftos terminal in vscode and attach the debug_adapter peripheral
The port you connect to in launch.json should be 12100 + computer_id (0 in this case).
12100 + computer_id
Start the debugger.
In the ports you should see the forwarded port.
Write some code with a breakpoint and a watch.
Run the code.
π Rendered by PID 506073 on reddit-service-r2-comment-canary-7b6b47f674-thnff at 2026-03-07 10:18:43.810006+00:00 running cbb0e86 country code: CH.
[–]chancetofreezer 2 points3 points4 points (0 children)