From 614a0538ca128f458ccd781db299e2e3e7232fd0 Mon Sep 17 00:00:00 2001 From: Sebastien Douheret Date: Mon, 22 Jan 2018 12:04:00 +0100 Subject: Add Go + Angular code debugging instructions. Signed-off-by: Sebastien Douheret --- docs/part-2/1_xds-server/4_debug.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'docs/part-2/1_xds-server/4_debug.md') diff --git a/docs/part-2/1_xds-server/4_debug.md b/docs/part-2/1_xds-server/4_debug.md index 2b36697..dbd6dfd 100644 --- a/docs/part-2/1_xds-server/4_debug.md +++ b/docs/part-2/1_xds-server/4_debug.md @@ -20,7 +20,7 @@ The server part is written in *Go* and web app (basic HTML) in *Angular4*. | +-- Makefile # makefile including | -+-- README.md # ++-- README.md # readme | +-- scripts/ # hold various scripts used for installation or startup | @@ -33,4 +33,14 @@ The server part is written in *Go* and web app (basic HTML) in *Angular4*. +-- webapp/ # source client basic web application ``` +## Debug server part (Go code) + +Install first [Visual Studio Code](https://code.visualstudio.com/) and +[Go plugin](https://marketplace.visualstudio.com/items?itemName=lukehoban.Go) +(`ext install lukehoban.Go`) + Visual Studio Code launcher settings can be found into `.vscode/launch.json`. + +Please follow instructions of xds-agent [debugging chapter](../2_xds-agent/4_debug.html#debug-xds-agent-go-code), +knowing that you execute these same instructions in `xds-server` repo, in other words +by replacing *xds-agent* references by *xds-server*. -- cgit 1.2.3-korg