2020计算机顶级大会_2020年顶级远程调试工具
2020計(jì)算機(jī)頂級(jí)大會(huì)
When it comes to debugging, the tool you use is extremely important and can determine how easy is is to fix problems within your code.
在調(diào)試方面,您使用的工具非常重要,可以確定在代碼中修復(fù)問題的難易程度。
In the early days, the debugging process was quite a challenge. With the distinct lack of reliable debuggers, developers turned to several hacks.
在早期,調(diào)試過程是一個(gè)很大的挑戰(zhàn)。 由于明顯缺乏可靠的調(diào)試器,因此開發(fā)人員轉(zhuǎn)向了一些黑客。
For instance, when debugging a mobile app or website, you would recreate issues on your desktop and then use Chrome developer tools and similar toolkits. Unfortunately, these hacks were not as effective?—?you had to constantly shift back and forth from your desktop browser and mobile device.
例如,在調(diào)試移動(dòng)應(yīng)用或網(wǎng)站時(shí),您將在桌面上重新創(chuàng)建問題,然后使用Chrome開發(fā)者工具和類似的工具包。 不幸的是,這些黑客沒有那么有效-您不得不不斷地從臺(tái)式機(jī)瀏覽器和移動(dòng)設(shè)備上來回移動(dòng)。
Fast forward to today, and we have a powerful suite of tools that allow you to debug defective code running on a different device as if it were local code. Best of all, these remote debugging tools not only address the debugging challenges but also enhance collaboration across development teams.
時(shí)至今日,我們擁有一套功能強(qiáng)大的工具,可讓您調(diào)試在其他設(shè)備上運(yùn)行的有缺陷的代碼,就像本地代碼一樣。 最重要的是,這些遠(yuǎn)程調(diào)試工具不僅可以解決調(diào)試難題,而且可以增強(qiáng)開發(fā)團(tuán)隊(duì)之間的協(xié)作。
In this post, I have put together the top ten remote debugging tools which can be reliably used to debug your code remotely.
在本文中,我匯總了十大遠(yuǎn)程調(diào)試工具,這些工具可以可靠地用于遠(yuǎn)程調(diào)試代碼。
轉(zhuǎn)出 (Rookout)
Rookout is an innovative tool that brings agility to the debugging process. It can be used to debug JVM, Node.JS, and Python code in both serverless and containerized applications. The beauty of Rookout lies in its ability to allow users to debug both staging and production applications quickly and securely. It eliminates the lengthy and complicated debugging processes by providing all the data needed in a matter of seconds. The on-demand data provided by Rookout ensures developers can understand and debug issues lying within their code without coding, redeploying or restarting their applications.
淘汰工作是一種創(chuàng)新工具,可為調(diào)試過程帶來敏捷性。 它可用于在無服務(wù)器和容器化應(yīng)用程序中調(diào)試JVM,Node.JS和Python代碼。 Rookout的優(yōu)點(diǎn)在于它具有允許用戶快速安全地調(diào)試暫存和生產(chǎn)應(yīng)用程序的功能。 通過在幾秒鐘內(nèi)提供所需的所有數(shù)據(jù),它消除了冗長而復(fù)雜的調(diào)試過程。 Rookout提供的按需數(shù)據(jù)可確保開發(fā)人員無需編碼,重新部署或重新啟動(dòng)應(yīng)用程序即可理解和調(diào)試其代碼中的問題。
With Rookout, you can remotely debug live Electron apps. Rookout’s shareable interface allows developers to set non-breaking breakpoints in troublesome Electron apps. The tool gives you complete visibility into your app's performance, so you can trace issues and develop appropriate fixes. Rookout makes all this possible without the need to install another software on the end-user
借助Rookout,您可以遠(yuǎn)程調(diào)試實(shí)時(shí)Electron應(yīng)用程序。 Rookout的共享界面允許開發(fā)人員在麻煩的Electron應(yīng)用程序中設(shè)置不間斷的斷點(diǎn)。 該工具使您可以完全了解應(yīng)用程序的性能,因此您可以跟蹤問題并開發(fā)適當(dāng)?shù)男迯?fù)程序。 借助Rookout,無需在最終用戶上安裝其他軟件即可實(shí)現(xiàn)所有這些操作
強(qiáng)調(diào) (Highlights)
- Easy to get started 易于上手
- Seamless Git integration 無縫的Git集成
- Integrates with a range of tools including Slack, Datadog, Sentry, Sumologic, and more 與各種工具集成,包括Slack,Datadog,Sentry,Sumologic等
- Interaction tracking and screen sharing capabilities 互動(dòng)跟蹤和屏幕共享功能
- Provides comprehensive debugging data in real-time 實(shí)時(shí)提供全面的調(diào)試數(shù)據(jù)
Visual Studio程式碼 (Visual Studio Code)
Visual Studio Code is always a top pick for every developer working with .NET. It has a ton of features to facilitate both local and remote debugging. With this tool, you can set conditional breakpoints and log points.It also allows you to inspect variables. For remote debugging, you will need to install the VS code remote development extension pack. This package has three extensions that provide everything you need to launch, monitor, and accelerate your remote debugging loop.
對(duì)于使用.NET的每個(gè)開發(fā)人員, Visual Studio代碼始終是首選。 它具有大量功能,可促進(jìn)本地和遠(yuǎn)程調(diào)試。 使用此工具可以設(shè)置條件斷點(diǎn)和日志點(diǎn),還可以檢查變量。 對(duì)于遠(yuǎn)程調(diào)試,您將需要安裝VS代碼遠(yuǎn)程開發(fā)擴(kuò)展包 。 該軟件包具有三個(gè)擴(kuò)展,可提供啟動(dòng),監(jiān)視和加速遠(yuǎn)程調(diào)試循環(huán)所需的一切。
強(qiáng)調(diào) (Highlights)
- Free to use, cross-platform operations 免費(fèi)使用,跨平臺(tái)操作
- Highly active development community with Microsoft backing 微軟支持的高度活躍的開發(fā)社區(qū)
- Integrated Git control 集成Git控制
- Supports a wide array of extensions and customization options for workflow enhancement 支持多種擴(kuò)展和自定義選項(xiàng),以增強(qiáng)工作流程
- Automatic error checking and color coding is great 自動(dòng)錯(cuò)誤檢查和顏色編碼很棒
Ruby礦 (RubyMine)
RubyMine is a powerful and intelligent cross-platform IDE that allows you to debug Ruby on Rails, CoffeeScript, JavaScript, CSS, ERB and HAML, and more. Its advanced built-in debugger allows you to set breakpoints and define hit conditions with ease.
RubyMine是功能強(qiáng)大且智能的跨平臺(tái)IDE,可讓您調(diào)試Ruby on Rails,CoffeeScript,JavaScript,CSS,ERB和HAML等。 其先進(jìn)的內(nèi)置調(diào)試器使您可以輕松設(shè)置斷點(diǎn)并定義命中條件。
JetBrains' RubyMine provides two ways to debug applications that run on remote devices. First, you can add the remote Ruby interpreter and configure mappings between local and remote project files, then launch your debugging session. Alternatively, you can run applications on the remote device then add the Ruby interpreter. Once done, configure mappings between files and bind to a running process. The latter is especially helpful when debugging an application that you cannot launch directly from your IDE.
JetBrains的RubyMine提供了兩種方法來調(diào)試在遠(yuǎn)程設(shè)備上運(yùn)行的應(yīng)用程序。 首先,您可以添加遠(yuǎn)程Ruby解釋器并配置本地和遠(yuǎn)程項(xiàng)目文件之間的映射,然后啟動(dòng)調(diào)試會(huì)話。 另外,您可以在遠(yuǎn)程設(shè)備上運(yùn)行應(yīng)用程序,然后添加Ruby解釋器。 完成后,配置文件之間的映射并綁定到正在運(yùn)行的進(jìn)程。 當(dāng)調(diào)試無法直接從IDE啟動(dòng)的應(yīng)用程序時(shí),后者特別有用。
Another great thing about this tool is that it allows you to launch multiple debug processes simultaneously.
此工具的另一個(gè)優(yōu)點(diǎn)是,它允許您同時(shí)啟動(dòng)多個(gè)調(diào)試過程。
強(qiáng)調(diào) (Highlights)
- RubyMine is based on the solid intelliJ IDEA platform RubyMine基于可靠的智能IDEA平臺(tái)
- Good support for ruby-related frameworks and technologies 對(duì)與Ruby有關(guān)的框架和技術(shù)的良好支持
- Autocomplete feature is pretty good 自動(dòng)完成功能相當(dāng)不錯(cuò)
- Good Git integration. 良好的Git集成。
- Supports multiple plugins 支持多個(gè)插件
- Integrates seamlessly with rails 與Rails無縫集成
藥香 (PyCharm)
PyCharm is another robust IDE developed by JetBrains for Python. This intelligent code editor is equipped with remote development capabilities, including running, testing, debugging, deploying and applications on virtual machines and remote hosts.
PyCharm是JetBrains為Python開發(fā)的另一個(gè)強(qiáng)大的IDE。 該智能代碼編輯器具備遠(yuǎn)程開發(fā)功能,包括在虛擬機(jī)和遠(yuǎn)程主機(jī)上運(yùn)行,??測試,調(diào)試,部署和應(yīng)用程序。
The debugger offers several breakpoints, frames view, watches, stepping modes, remote interpreters, and a debug console.
調(diào)試器提供了幾個(gè)斷點(diǎn),幀視圖,監(jiān)視,步進(jìn)模式,遠(yuǎn)程解釋器和調(diào)試控制臺(tái)。
Some amazing features of PyCharm include sophisticated auto-completion, excellent refactoring support and seamless integration with tools such as Django, IPython, Docker, Vagrant, and Pytest. Additionally, PyCharm is a wonderful cross-platform development tool. Other than Python, it supports JavaScript, Cython, CoffeeScript, TypeScript SQL, HTML/CSS, Node.js, AngularJS, and more.
PyCharm的一些驚人功能包括完善的自動(dòng)完成功能,出色的重構(gòu)支持以及與Django,IPython,Docker,Vagrant和Pytest等工具的無縫集成。 此外,PyCharm是一款出色的跨平臺(tái)開發(fā)工具。 除Python以外,它還支持JavaScript,Cython,CoffeeScript,TypeScript SQL,HTML / CSS,Node.js,AngularJS等。
強(qiáng)調(diào) (Highlights)
- Awesome connectivity with multiple databases for querying within the IDE 與多個(gè)數(shù)據(jù)庫的強(qiáng)大連接,可在IDE中進(jìn)行查詢
- Searching and installing packages is easy 搜索和安裝軟件包很容易
- Automatic code completion 自動(dòng)完成代碼
- Git visualization Git可視化
- Shows code errors on the fly and facilitates easy fixing 實(shí)時(shí)顯示代碼錯(cuò)誤,并易于修復(fù)
廣東發(fā)展銀行 (GDB)
GDB can be effectively used to debug programs on another computer. To perform remote debugging, you will need to run the GDB utility in the host system. Additionally, you must run gdbserver on the target system so that the two utilities will communicate through a network or serial line using the GDB remote serial protocol.
GDB可以有效地用于調(diào)試另一臺(tái)計(jì)算機(jī)上的程序。 要執(zhí)行遠(yuǎn)程調(diào)試,您將需要在主機(jī)系統(tǒng)中運(yùn)行GDB實(shí)用程序。 此外,必須在目標(biāo)系統(tǒng)上運(yùn)行g(shù)dbserver,以便兩個(gè)實(shí)用程序?qū)⑹褂肎DB遠(yuǎn)程串行協(xié)議通過網(wǎng)絡(luò)或串行線路進(jìn)行通信。
There are two configuration options for remote debugging with GDB/gdbserver. The first involves using the remote GDB server to automatically build and upload application code to the remote machine. The second option is using GDB remote debug where you should have the executable files.
使用GDB / gdbserver進(jìn)行遠(yuǎn)程調(diào)試有兩個(gè)配置選項(xiàng)。 第一個(gè)涉及使用遠(yuǎn)程GDB服務(wù)器自動(dòng)構(gòu)建應(yīng)用程序代碼并將其上載到遠(yuǎn)程計(jì)算機(jī)。 第二個(gè)選項(xiàng)是使用GDB遠(yuǎn)程調(diào)試,您應(yīng)該在其中具有可執(zhí)行文件。
強(qiáng)調(diào) (Highlights )
- Easy to use and trace faults within code 易于使用并跟蹤代碼中的錯(cuò)誤
- Cross-platform and wide language support 跨平臺(tái)和廣泛的語言支持
- Effective for core dump analysis 對(duì)核心轉(zhuǎn)儲(chǔ)分析有效
蝕 (Eclipse)
Eclipse is a renowned IDE for Java development that also supports languages like Python, Ruby, C# and, PHP. The Eclipse IDE is equipped with advanced features for development and debugging, making it an all-rounded tool. One of the most impressive features on Eclipse is the platform’s debug perspective that shows detailed debugging information such as breakpoints, variables, call stacks, and threads side by side. Using Eclipse, you can step through program execution, suspend and resume threads, evaluate expressions and inspect values. Managing remote debugging configurations on Eclipse is quite easy and straightforward, which makes the tool more popular among developers.
Eclipse是Java開發(fā)的著名IDE,它還支持Python,Ruby,C#和PHP等語言。 Eclipse IDE具備用于開發(fā)和調(diào)試的高級(jí)功能,使其成為一種全面的工具。 Eclipse上最令人印象深刻的功能之一是該平臺(tái)的調(diào)試透視圖,該視圖并排顯示了詳細(xì)的調(diào)試信息,例如斷點(diǎn),變量,調(diào)用堆棧和線程。 使用Eclipse,您可以逐步執(zhí)行程序,暫停和恢復(fù)線程,評(píng)估表達(dá)式并檢查值。 在Eclipse上管理遠(yuǎn)程調(diào)試配置非常容易和直接,這使得該工具在開發(fā)人員中更受歡迎。
強(qiáng)調(diào) (Highlights)
- Automatic code completion 自動(dòng)完成代碼
- Good refactoring support 良好的重構(gòu)支持
- Excellent navigation capability 出色的導(dǎo)航能力
- Helps with syntax checking for clean and efficient code 幫助語法檢查以獲取干凈有效的代碼
- Git Integration Git集成
Zend Studio調(diào)試器 (Zend Studio Debugger)
The Zend Studio is a professional IDE that supports PHP code editing, testing, debugging, and more. It is tightly integrated with the Zend Server, thereby creating a complete PHP environment that facilitates easier analysis of problems detected in staging and production environments. Zend also provides a PHP extension that users can install on web servers to debug PHP scripts. Using Zend for debugging is relatively easy – you only need to open the source code, set breakpoints in the project, and run a debug session.
Zend Studio是一個(gè)專業(yè)的IDE,支持PHP代碼編輯,測試,調(diào)試等。 它與Zend Server緊密集成,從而創(chuàng)建了一個(gè)完整PHP環(huán)境,可簡化對(duì)在暫存和生產(chǎn)環(huán)境中檢測到的問題的分析。 Zend還提供了一個(gè)PHP擴(kuò)展,用戶可以將其安裝在Web服務(wù)器上以調(diào)試PHP腳本。 使用Zend進(jìn)行調(diào)試相對(duì)容易-您只需要打開源代碼,在項(xiàng)目中設(shè)置斷點(diǎn)并運(yùn)行調(diào)試會(huì)話即可。
Remote debugging on Zend can be done in three ways. The first option is using the Debug URL functionality on Zend Studio. Secondly, you can use the Debug as Web Page functionality within Zend Studio. And finally, using the Zend browser toolbar on Firefox or Chrome.
在Zend上的遠(yuǎn)程調(diào)試可以通過三種方式完成。 第一種選擇是在Zend Studio上使用“調(diào)試URL”功能。 其次,您可以在Zend Studio中使用“作為網(wǎng)頁調(diào)試”功能。 最后,使用Firefox或Chrome上的Zend瀏覽器工具欄。
強(qiáng)調(diào) (Highlights)
- Ability to sift through project files in just a few keystrokes 只需幾次按鍵即可瀏覽項(xiàng)目文件的能力
- Highly efficient and speedy platform 高效快捷的平臺(tái)
- Large community support 大型社區(qū)支持
- Great for building and debugging PHP applications 非常適合構(gòu)建和調(diào)試PHP應(yīng)用程序
- The framework is exceptionally flexible 該框架非常靈活
WinPdb的 (WinPdb)
WinPdb is an excellent Python debugger that works well on Windows, Mac OS, and Linux systems. It is compatible with both Python 2.x and Python 3.x.This debugging tool supports smart breakpoints, namespace modification, multiple threads, embedded debugging, and encrypted communication. For remote debugging, you will need to copy rpdb2.py (Winpdb’s command-line debugger) onto the remote machine. Once finished, start the Python script with the debugger on the remote machine. From your local device, launch the GUI and attach the script to debug. At this point, you can use the basename or full path of the script as it is on the remote device. You can learn more about debugging Python scripts with Win PDB here.
WinPdb是一個(gè)出色的Python調(diào)試器,可在Windows,Mac OS和Linux系統(tǒng)上很好地運(yùn)行。 它與Python 2.x和Python 3.x兼容。此調(diào)試工具支持智能斷點(diǎn),名稱空間修改,多線程,嵌入式調(diào)試和加密通信。 對(duì)于遠(yuǎn)程調(diào)試,您需要將rpdb2.py(Winpdb的命令行調(diào)試器)復(fù)制到遠(yuǎn)程計(jì)算機(jī)上。 完成后,使用遠(yuǎn)程計(jì)算機(jī)上的調(diào)試器啟動(dòng)Python腳本。 在本地設(shè)備上,啟動(dòng)GUI并將腳本附加到調(diào)試中。 此時(shí),您可以使用腳本的基本名稱或完整路徑,就像在遠(yuǎn)程設(shè)備上一樣。 您可以在此處了解有關(guān)使用Win PDB調(diào)試Python腳本的更多信息。
強(qiáng)調(diào) (Highlights)
- Supports multithread debugging 支持多線程調(diào)試
- Encrypted communication for remote debugging 加密通信,用于遠(yuǎn)程調(diào)試
- Quicker than PDB 比PDB快
- Easy to use GUI with breakpoints, stack/variable inspection, and more 具有斷點(diǎn),堆棧/變量檢查等功能的易于使用的GUI
Use the above tools to make your remote debugging experience much better. Happy coding!
使用上述工具可以使您的遠(yuǎn)程調(diào)試體驗(yàn)更好。 祝您編碼愉快!
翻譯自: https://www.freecodecamp.org/news/remote-debugging-tools/
2020計(jì)算機(jī)頂級(jí)大會(huì)
總結(jié)
以上是生活随笔為你收集整理的2020计算机顶级大会_2020年顶级远程调试工具的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 梦到母亲葬礼是什么意思
- 下一篇: 初创公司股本结构_我如何向初创公司的开发