-
Put the file
.ko.yaml
in the directory that whereko
is running. The contents of the file are:defaultBaseImage: ubuntu:bionic-20190307
-
ko
apply the binary you are interested in. -
export TAGGED_VERSION=v0.5.7 make clean make squashctl
-
Open up VS code in
editor/vscode
. -
Replace
version
ineditor/vscode/package.json
with a valid semver string (e.g.0.1.2
). -
Have
getremote(extPath: string)
ineditor/vscode/src/extension.ts
point at your newly builtsquashctl
. -
'Debug' the extension from VS code by pressing F5. This will open a new VS Code windown with the local copy of the extension running.
Squash, a tool for debugging distributed applications, is designed to bring the strength of modern debuggers and the convenience of their IDEs to microservices developers. Squash uses popular, powerful and mature debuggers, and integrates them seamlessly with Kubernetes. This allows devs to use the debugger of their choice, and the IDEs that support it, to debug microservices on Kubernetes.
The Squash VS Code extenstion allows Squash to use Visual Studio Code as its user interface. After installing this extension Squash commands are available in VS Code command palette.
- Live debugging cross multi microservices
- Debug container in a pod
- Debug a service
- Set breakpoints
- Step through the code
- View and modify values of variables
- and more ...