Open zx42 opened 1 year ago
Hmm, interesting. What happens if you remove --debug
flag?
Hmm, interesting. What happens if you remove
--debug
flag?
The same. I thought I could get more details by adding --debug
.
Can you reproduce the behavior with the latest buffalo cli (v.0.18.8)?
Hmm, interesting. What happens if you remove
--debug
flag?
Sorry!!
I thought I had tried it without --debug
also. but I hadn't.
So buffalo dev
works but buffalo dev --debug
gives me the error message.
Yeah, as the message said, it seems like the issue is related to Delve. Will take a look tomorrow.
Confirmed. Unfortunately, I think it may need more time to fix it.
The issue was introduced by the changed behavior of Delve with PR https://github.com/go-delve/delve/pull/2146 but Refresh is not yet compatible with this behavior.
The workaround for this issue could be executing the debugger manually. Once you run buffalo dev
, temporary binary will be created as tmp/app-build
so you can start your debugging session with the command something like dlv exec tmp/app-build
.
Description
I just wanted to create a fresh buffalo REST API app using SQLite on Linux. That failed pretty early.
Steps to Reproduce the Problem
buffalo new --api --skip-docker --skip-webpack --vcs none --verbose --db-type sqlite3 myapp
cd myapp
buffalo pop create -a
buffalo dev --debug
Expected Behavior
A running REST service listening on
http://127.0.0.1:3000
for HTTP requests and a message in the terminal informing me about this.Actual Behavior
I got the error message:
Stderr is not a terminal, use '-r' to specify redirects for the target process or --allow-non-terminal-interactive=true if you really want to specify a redirect for Delve
Can you please point out what I need to do differently? Thanks a lot!
Btw. Buffalo is a GREAT piece of work!
buffalo version
:INFO[0000] Buffalo version is: v0.18.8
Info