From 220eb40cc6fb2102238b483ec647fc738d06646a Mon Sep 17 00:00:00 2001 From: Luke Hoban Date: Fri, 20 Nov 2015 14:26:17 -0800 Subject: [PATCH] Update README and bump to 0.6.9. --- README.md | 15 +++++++++++---- package.json | 2 +- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 4db14c44..538d466c 100644 --- a/README.md +++ b/README.md @@ -56,16 +56,23 @@ Once this is installed, go to the Code debug viewlet and select the configuratio "name": "Launch main.go", "type": "go", "request": "launch", - "program": "main.go", - "stopOnEntry": false, + "mode": "debug", + "program": ".", "env": {}, - "args": [], - "cwd": "." + "args": [] } ] } ``` +The `program` option can refer to a package folder to debug, or a file within that folder. + +The `mode` parameter can be set to: + +* `debug` to compile the contents of the program folder and launch under the debugger. [default] +* `test` to debug tests in the program folder. +* `exec` to run a pre-built binary instead of building the current code in the program folder. + ## Building and Debugging the Extension You can set up a development environment for debugging the extension during extension development. diff --git a/package.json b/package.json index a523237f..cd2bcbfc 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "Go", - "version": "0.6.8", + "version": "0.6.9", "publisher": "lukehoban", "description": "Go support for Visual Studio Code", "author": {