You could try to debug it from within VSC.

Op donderdag 9 februari 2023 om 15:19:24 UTC+1 schreef Daniel Jankins:

> Hi,  I can not get the console app to run with the debugger.  When I start 
> the debugger I do not get the console display only 
>
> Starting: C:\Users\djankins\go\bin\dlv.exe dap --listen=127.0.0.1:52239 
> from c:\Users\djankins\Repositories\UT\adpf-simulation\GUI
> DAP server listening at: 127.0.0.1:52239
> Type 'dlv help' for list of commands.
>
>
> On Wednesday, January 31, 2018 at 12:50:02 AM UTC-5 evan wrote:
>
>> i can debug my web app server code with no problem with the Go, VSCODE, 
>> and Delve setup.
>>
>> the client connecting to that web app is a console app, which primarily 
>> does the following:
>>
>> gets json data from the server, stuffs the data into the table widget of 
>> the terminal user interface (3rd party Go package) for display, lets users 
>> edit the data, etc
>>
>> the console app runs fine when i go run client.go. but when i want to 
>> debug the code, the client app doesn't show up :-)
>>
>> so i'm currently forced to log println's out to a file so i can keep 
>> moving forward.
>>
>> any suggestion what i can do so that i can start up my console app in 
>> debug mode and when it shows up, interact with it until i get to preset 
>> breakpoints, etc (or other set of steps that might work)?
>>
>> i'm working in a windows 10 development machine, go version 1.9.2, and 
>> VSCODE 1.19.3
>>
>> thanks for any help!
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/cd495fef-49f7-4485-b1ad-6453d53c5578n%40googlegroups.com.

Reply via email to