I'm a newbie with both visual studio code, and Go. I have VS code (Version: 
1.37.1) with the Go (ver 0.11.4) extension installed. I am attempting to 
debug packer with this setup however I cannot seem to make the debugger 
stop on a breakpoint. I have set '-debug' and PACKER_LOG=1. I think the 
problem is because packer uses panicwrap 
<http://github.com/mitchellh/panicwrap> which seems to spawn a separate 
process to run packer and the VS code debugger doesn't have access to that 
process. I'm wondering if anybody else uses VS code to debug packer and 
whether they are able to debug packer code with it? I'm open to using other 
setup as well so I would also be interested in suggestions on how to setup 
debugging for packer development in general.  Thanks. 

-- 
This mailing list is governed under the HashiCorp Community Guidelines - 
https://www.hashicorp.com/community-guidelines.html. Behavior in violation of 
those guidelines may result in your removal from this mailing list.

GitHub Issues: https://github.com/mitchellh/packer/issues
IRC: #packer-tool on Freenode
--- 
You received this message because you are subscribed to the Google Groups 
"Packer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/packer-tool/e3219d1e-cda9-4452-bccb-8dd23e5ee33b%40googlegroups.com.

Reply via email to