Question:
In the python class I am taking the teacher wanted to show us the debugger but it was not in the list of tools as it had been in the past and none of us could locate it.
I tried looking it up but every source I find claims there is a button for it either on the top right or left side of the screen. I was wondering if this is a glitch or an update.
Please help!
Replit Profile: https://replit.com/@Sphardaya
On your right window you can see a plus (that is, near the top tabs where it says Console
and Shell
, right next to that). Press that plus and enter debugger
and press on what comes up
1 Like
some of your repls are legacy non-nix repls so they don’t have the debugger config. Create a .replit
file in the affected repls which has:
# Add a debugger!
[debugger]
support = true
# How to start the debugger.
[debugger.interactive]
transport = "localhost:0"
startCommand = ["dap-python", "main.py"]
# How to communicate with the debugger.
[debugger.interactive.integratedAdapter]
dapTcpAddress = "localhost:0"
# How to tell the debugger to start a debugging session.
[debugger.interactive.initializeMessage]
command = "initialize"
type = "request"
[debugger.interactive.initializeMessage.arguments]
adapterID = "debugpy"
clientID = "replit"
clientName = "replit.com"
columnsStartAt1 = true
linesStartAt1 = true
locale = "en-us"
pathFormat = "path"
supportsInvalidatedEvent = true
supportsProgressReporting = true
supportsRunInTerminalRequest = true
supportsVariablePaging = true
supportsVariableType = true
# How to tell the debugger to start the debuggee application.
[debugger.interactive.launchMessage]
command = "attach"
type = "request"
[debugger.interactive.launchMessage.arguments]
logging = {}
1 Like