New user questions for debugging in python #256
Unanswered
aclifton314
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I posted this in issues, but it seems it's better suited here in a discussion. Below is the original post.
emacs=30.1python=3.12poetry=1.8.3debugpy=1.8.15I am having a difficult time understanding how to use
dapeproperly forpython. I have a project I am building usingpoetryand have created a simple script below calledmyscript.py:In my
config.elI have:In
myscript.pyI put a breakpoint atprint(df)usingdape-breakpoint-toggle. I rundapeand am prompted in a minibuffer to run an adapter. Currently it saysRun adapter: debugpywhich I assume is correct.I get the following in
dape-repl:and here is what I get in
dape-connection events:If I run
myscript.pyusingpoetry run python myscript.py, it runs successfully.I'm very new to
dapeso I apologize if these questions are simple.dapeto automatically run on whichever python buffer I am instead of having to edit:program?dapeand close all the open buffers in one go instead of having to close them individually?Thank you in advance for your help!
Beta Was this translation helpful? Give feedback.
All reactions