百科.dev
全部条目AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
S

squash

> 编程语言
开源

微服务的调试器

1.8K stars0 点赞0 次浏览
访问官网GitHub

工具介绍

微服务的调试器


Debugger for microservices

Debug your microservice applications from your terminal or IDE while they run in Kubernetes.


[**Installation**](https://squash.solo.io/overview/)   |   [**Documentation**](https://squash.solo.io)   |   [**Blog**](https://www.solo.io/blog/squash-microservices-debugger/)   |   [**Slack**](https://slack.solo.io)   |   [**Twitter**](https://twitter.com/soloio_inc) Debugging microservices applications is a difficult task. The state of an application is spread across multiple processes, often on different nodes. It is hard to get the holistic view of an application's state. Certain tools exist for troubleshooting microservice issues. OpenTracing can be used to produce transaction or workflow logs for post-mortem analysis. Service meshes like Istio can be used to monitor the network to identify latency problems. Unfortunately, these tools are passive, the feedback loop is slow, and they do not allow you to monitor and alter the application during run time. In contrast, "traditional" debuggers for monolithic applications provide devs with powerful real-time investigation features. A developer working with monolithic applications has the powerful ability to set breakpoints throughout the application, follow variable values on the fly, step through the code, and change values during run time. Squash brings the power of modern debuggers to developers of microservice apps. Squash bridges between the apps running in a Kubernetes environment (without modifying them) and the IDE. Users are free to choose which containers, pods, services or images they are interested in debugging, and are allowed to set breakpoints in their codes, follow values of their variables on the fly, step through the code while jumping between microservices, and change these values during run time. Squash is built to be easily extensible. It is easy to add support for more languages, debuggers and IDEs. To learn more about the motivation behind project squash, read our blog [post](https://www.solo.io/blog/squash-microservices-debugger/) or [watch](https://youtu.be/jkcFFr8lLTA) session ([slides](https://www.slideshare.net/IditLevine/debugging-microservices-qcon-2017)). We also encourage you to read squash technical overview [blog](https://www.solo.io/blog/technical-introduction-to-squash/). To stay up-to-date with Squash, follow us [@soloio_inc](https://twitter.com/soloio_inc) and join us on our [slack channel](http://slack.solo.io). [Official website](https://squash.solo.io) ## With Squash, you can: * Debug running microservices * Debug container in a pod * Debug a service * Set breakpoints * Step through code * View and modify values of variables * ...anything you could do with a regular debugger, and more! ## Demo In the following demo we debug an application that adds two numbers. As you can see, it currently fails miserably at adding 9 to 99. The application is composed of two microservices. We set breakpoints in both, then step through the application, while monitoring its variables. At some point we identify the problem, and test it by changing the value of the variable isadd before resuming the execution of the application. An annotated version of this demo can be found [here](https://youtu.be/5aNPfwVvLvA). ## Documentation Please visit [squash.solo.io](https://squash.solo.io) for documentation. ## Supported debuggers: - [dlv](https://github.com/go-delve/delve) - [Java](http://docs.oracle.com/javase/7/docs/technotes/guides/jpda/jdwp-spec.html) - [gdb](https://www.gnu.org/software/gdb/) (2019) - [Nodejs](https://nodejs.org/api/debugger.html) (2019) - [Python - ptvsd](https://code.visualstudio.com/docs/python/debugging) (2019) ## Supported platforms: - [Kubernetes](docs/platforms/kubernetes.md) - [OpenShift](https://www.openshift.com/) - [Istio](docs/platforms/istio.md) (2019) ## Supported IDEs: - [VS Code](https://github.com/solo-io/squash-vscode) - [Intellij](https://github.com/solo-io/squash-intellij) (2019) - [Eclipse](https://eclipse.org/ide/) (2019) ## Roadmap: **Service Mesh** - Squash integrates with [Envoy](https://www.envoyproxy.io). Read about the Squash HTTP filter, now part of Envoy [here](https://www.envoyproxy.io/docs/envoy/latest/configuration/http_filters/squash_filter.html). This allows Squash to open debug sessions as a request flows through a microservice. Support for Istio will be added in 2019. **Debuggers** - We will be adding support to several additional debuggers in early 2019, including gdb, nodejs, and python. **IDEs** - We have simplified the `squashctl --machine` interface so it is easier to add support for additional IDEs. We will be updating our Intellij extension in early 2019. *We welcome community support for enabling more debuggers and IDEs.* Squash is under active development. APIs and compatibility are subject to change. We welcome community participation to help identify potential bugs and compatibility issues. Please open a Github issue for any problems you may experience, and join us on our [slack channel](http://slack.solo.io) --- ## Thanks **Squash** would not be possible without the valuable open-source work of projects in the community. We would like to extend a special thank-you to [Kubernetes](https://kubernetes.io), [gdb](https://www.gnu.org/software/gdb/) and [dlv](https://github.com/go-delve/delve).

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Go

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言