2020計算機頂級大會_2020年頂級遠程調試工具

2020計算機頂級大會

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.

在調試方面,您使用的工具非常重要,可以確定在代碼中修復問題的難易程度。

In the early days, the debugging process was quite a challenge. With the distinct lack of reliable debuggers, developers turned to several hacks.

在早期,調試過程是一個很大的挑戰。 由于明顯缺乏可靠的調試器,因此開發人員轉向了一些黑客。

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.

例如,在調試移動應用或網站時,您將在桌面上重新創建問題,然后使用Chrome開發者工具和類似的工具包。 不幸的是,這些黑客沒有那么有效-您不得不不斷地從臺式機瀏覽器和移動設備上來回移動。

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.

時至今日,我們擁有一套功能強大的工具,可讓您調試在其他設備上運行的有缺陷的代碼,就像本地代碼一樣。 最重要的是,這些遠程調試工具不僅可以解決調試難題,而且可以增強開發團隊之間的協作。

In this post, I have put together the top ten remote debugging tools which can be reliably used to debug your code remotely.

在本文中,我匯總了十大遠程調試工具,這些工具可以可靠地用于遠程調試代碼。

轉出 (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.

淘汰工作是一種創新工具,可為調試過程帶來敏捷性。 它可用于在無服務器和容器化應用程序中調試JVM,Node.JS和Python代碼。 Rookout的優點在于它具有允許用戶快速安全地調試暫存和生產應用程序的功能。 通過在幾秒鐘內提供所需的所有數據,它消除了冗長而復雜的調試過程。 Rookout提供的按需數據可確保開發人員無需編碼,重新部署或重新啟動應用程序即可理解和調試其代碼中的問題。

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,您可以遠程調試實時Electron應用程序。 Rookout的共享界面允許開發人員在麻煩的Electron應用程序中設置不間斷的斷點。 該工具使您可以完全了解應用程序的性能,因此您可以跟蹤問題并開發適當的修復程序。 借助Rookout,無需在最終用戶上安裝其他軟件即可實現所有這些操作

強調 (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

    互動跟蹤和屏幕共享功能
  • Provides comprehensive debugging data in real-time

    實時提供全面的調試數據

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.

對于使用.NET的每個開發人員, Visual Studio代碼始終是首選。 它具有大量功能,可促進本地和遠程調試。 使用此工具可以設置條件斷點和日志點,還可以檢查變量。 對于遠程調試,您將需要安裝VS代碼遠程開發擴展包 。 該軟件包具有三個擴展,可提供啟動,監視和加速遠程調試循環所需的一切。

強調 (Highlights)

  • Free to use, cross-platform operations

    免費使用,跨平臺操作
  • Highly active development community with Microsoft backing

    微軟支持的高度活躍的開發社區
  • Integrated Git control

    集成Git控制
  • Supports a wide array of extensions and customization options for workflow enhancement

    支持多種擴展和自定義選項,以增強工作流程
  • Automatic error checking and color coding is great

    自動錯誤檢查和顏色編碼很棒

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是功能強大且智能的跨平臺IDE,可讓您調試Ruby on Rails,CoffeeScript,JavaScript,CSS,ERB和HAML等。 其先進的內置調試器使您可以輕松設置斷點并定義命中條件。

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提供了兩種方法來調試在遠程設備上運行的應用程序。 首先,您可以添加遠程Ruby解釋器并配置本地和遠程項目文件之間的映射,然后啟動調試會話。 另外,您可以在遠程設備上運行應用程序,然后添加Ruby解釋器。 完成后,配置文件之間的映射并綁定到正在運行的進程。 當調試無法直接從IDE啟動的應用程序時,后者特別有用。

Another great thing about this tool is that it allows you to launch multiple debug processes simultaneously.

此工具的另一個優點是,它允許您同時啟動多個調試過程。

強調 (Highlights)

  • RubyMine is based on the solid intelliJ IDEA platform

    RubyMine基于可靠的智能IDEA平臺
  • Good support for ruby-related frameworks and technologies

    對與Ruby有關的框架和技術的良好支持
  • Autocomplete feature is pretty good

    自動完成功能相當不錯
  • Good Git integration.

    良好的Git集成。
  • Supports multiple plugins

    支持多個插件
  • 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開發的另一個強大的IDE。 該智能代碼編輯器具備遠程開發功能,包括在虛擬機和遠程主機上運行,??測試,調試,部署和應用程序。

The debugger offers several breakpoints, frames view, watches, stepping modes, remote interpreters, and a debug console.

調試器提供了幾個斷點,幀視圖,監視,步進模式,遠程解釋器和調試控制臺。

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的一些驚人功能包括完善的自動完成功能,出色的重構支持以及與Django,IPython,Docker,Vagrant和Pytest等工具的無縫集成。 此外,PyCharm是一款出色的跨平臺開發工具。 除Python以外,它還支持JavaScript,Cython,CoffeeScript,TypeScript SQL,HTML / CSS,Node.js,AngularJS等。

強調 (Highlights)

  • Awesome connectivity with multiple databases for querying within the IDE

    與多個數據庫的強大連接,可在IDE中進行查詢
  • Searching and installing packages is easy

    搜索和安裝軟件包很容易
  • Automatic code completion

    自動完成代碼
  • Git visualization

    Git可視化
  • Shows code errors on the fly and facilitates easy fixing

    實時顯示代碼錯誤,并易于修復

廣東發展銀行 (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可以有效地用于調試另一臺計算機上的程序。 要執行遠程調試,您將需要在主機系統中運行GDB實用程序。 此外,必須在目標系統上運行gdbserver,以便兩個實用程序將使用GDB遠程串行協議通過網絡或串行線路進行通信。

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進行遠程調試有兩個配置選項。 第一個涉及使用遠程GDB服務器自動構建應用程序代碼并將其上載到遠程計算機。 第二個選項是使用GDB遠程調試,您應該在其中具有可執行文件。

強調 (Highlights )

  • Easy to use and trace faults within code

    易于使用并跟蹤代碼中的錯誤
  • Cross-platform and wide language support

    跨平臺和廣泛的語言支持
  • Effective for core dump analysis

    對核心轉儲分析有效

(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開發的著名IDE,它還支持Python,Ruby,C#和PHP等語言。 Eclipse IDE具備用于開發和調試的高級功能,使其成為一種全面的工具。 Eclipse上最令人印象深刻的功能之一是該平臺的調試透視圖,該視圖并排顯示了詳細的調試信息,例如斷點,變量,調用堆棧和線程。 使用Eclipse,您可以逐步執行程序,暫停和恢復線程,評估表達式并檢查值。 在Eclipse上管理遠程調試配置非常容易和直接,這使得該工具在開發人員中更受歡迎。

強調 (Highlights)

  • Automatic code completion

    自動完成代碼
  • Good refactoring support

    良好的重構支持
  • Excellent navigation capability

    出色的導航能力
  • Helps with syntax checking for clean and efficient code

    幫助語法檢查以獲取干凈有效的代碼
  • Git Integration

    Git集成

Zend Studio調試器 (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是一個專業的IDE,支持PHP代碼編輯,測試,調試等。 它與Zend Server緊密集成,從而創建了一個完整PHP環境,可簡化對在暫存和生產環境中檢測到的問題的分析。 Zend還提供了一個PHP擴展,用戶可以將其安裝在Web服務器上以調試PHP腳本。 使用Zend進行調試相對容易-您只需要打開源代碼,在項目中設置斷點并運行調試會話即可。

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上的遠程調試可以通過三種方式完成。 第一種選擇是在Zend Studio上使用“調試URL”功能。 其次,您可以在Zend Studio中使用“作為網頁調試”功能。 最后,使用Firefox或Chrome上的Zend瀏覽器工具欄。

強調 (Highlights)

  • Ability to sift through project files in just a few keystrokes

    只需幾次按鍵即可瀏覽項目文件的能力
  • Highly efficient and speedy platform

    高效快捷的平臺
  • Large community support

    大型社區支持
  • Great for building and debugging PHP applications

    非常適合構建和調試PHP應用程序
  • 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是一個出色的Python調試器,可在Windows,Mac OS和Linux系統上很好地運行。 它與Python 2.x和Python 3.x兼容。此調試工具支持智能斷點,名稱空間修改,多線程,嵌入式調試和加密通信。 對于遠程調試,您需要將rpdb2.py(Winpdb的命令行調試器)復制到遠程計算機上。 完成后,使用遠程計算機上的調試器啟動Python腳本。 在本地設備上,啟動GUI并將腳本附加到調試中。 此時,您可以使用腳本的基本名稱或完整路徑,就像在遠程設備上一樣。 您可以在此處了解有關使用Win PDB調試Python腳本的更多信息。

強調 (Highlights)

  • Supports multithread debugging

    支持多線程調試
  • Encrypted communication for remote debugging

    加密通信,用于遠程調試
  • Quicker than PDB

    比PDB快
  • Easy to use GUI with breakpoints, stack/variable inspection, and more

    具有斷點,堆棧/變量檢查等功能的易于使用的GUI

Use the above tools to make your remote debugging experience much better. Happy coding!

使用上述工具可以使您的遠程調試體驗更好。 祝您編碼愉快!

翻譯自: https://www.freecodecamp.org/news/remote-debugging-tools/

2020計算機頂級大會

本文來自互聯網用戶投稿,該文觀點僅代表作者本人,不代表本站立場。本站僅提供信息存儲空間服務,不擁有所有權,不承擔相關法律責任。
如若轉載,請注明出處:http://www.pswp.cn/news/390343.shtml
繁體地址,請注明出處:http://hk.pswp.cn/news/390343.shtml
英文地址,請注明出處:http://en.pswp.cn/news/390343.shtml

如若內容造成侵權/違法違規/事實不符,請聯系多彩編程網進行投訴反饋email:809451989@qq.com,一經查實,立即刪除!

相關文章

BZOJ5292 洛谷4457 LOJ2513:[BJOI2018]治療之雨——題解

https://www.lydsy.com/JudgeOnline/problem.php?id5292 https://www.luogu.org/problemnew/show/P4457 https://loj.ac/problem/2513 你現在有m1個數:第一個為p,最小值為0,最大值為n;剩下m個都是無窮,沒有最小值或最…

PHP--------微信網頁開發實現微信掃碼功能

今天說說微商城項目中用到的掃一掃這個功能,分享一下,希望對各位有所幫助。 前提:要有公眾號,和通過微信認證,綁定域名,得到相應信息,appid,appsecret等。 微信開發文檔:…

313. 超級丑數

超級丑數 是一個正整數,并滿足其所有質因數都出現在質數數組 primes 中。 給你一個整數 n 和一個整數數組 primes ,返回第 n 個 超級丑數 。 題目數據保證第 n 個 超級丑數 在 32-bit 帶符號整數范圍內。 示例 1: 輸入:n 12,…

初創公司股本結構_我如何向初創公司的開發團隊添加一些結構-以及從過程中學到的東西

初創公司股本結構Until recently, Id spent the last 4 years of my career at FinTech start-ups. Id always worked for smaller companies, and being at a start-up was the next logical step in looking for roles where I could make the biggest difference. 直到最近…

拿什么拯救你,我的面試之——從零打卡刷Leetcode(No.003)

寫在前邊:小詹一直覺得自己編程能力不強,想在網上刷題,又怕不能堅持。不知道有木有和小伙伴和小詹一樣想找個人一起刷題呢?歡迎和小詹一起定期刷leetcode,每周一周五更新一題,每一題都吃透,歡迎…

146. LRU 緩存機制

146. LRU 緩存機制 運用你所掌握的數據結構,設計和實現一個 LRU (最近最少使用) 緩存機制 。 實現 LRUCache 類: LRUCache(int capacity) 以正整數作為容量 capacity 初始化 LRU 緩存 int get(int key) 如果關鍵字 key 存在于緩存中,則返回…

[SQL] 請教一下 count里面有case when 一般情況下啥時候用

http://www.itpub.net/forum.php?modviewthread&tid1810967 問題: 比如 count(case when pday_id${deal_date} then 1 end) 我有點想不明白具體什么情況下count() 這個小括號里面還要用case when 大家做BI統計的時候一般什么情況用啊 還有個…

路由器架設虛擬服務器讓外網訪問到本地網站

確定電腦與路由器正確連接,并且已連至互聯網。在地址欄中輸入192.168.0.1回車,輸入用戶名密碼,進入路由器主界面。 然后點擊左側菜單中的“虛擬服務器”,——“端口段映射”打開“端口段映射”界面。 由于網站用的是80端口&#x…

vue項目示例代碼git_您應該了解的5個Git命令以及代碼示例

vue項目示例代碼gitIve used Git for some years now, and I still find myself googling how to do some basic tasks. So this article is my attempt to learn how to do some of these things by writing about them. And even if I still forget, at least Ill have a ref…

413. 等差數列劃分

413. 等差數列劃分 如果一個數列 至少有三個元素 ,并且任意兩個相鄰元素之差相同,則稱該數列為等差數列。 例如,[1,3,5,7,9]、[7,7,7,7] 和 [3,-1,-5,-9] 都是等差數列。 給你一個整數數組 nums ,返回數組 nums 中所有為等差數組…

山羊與汽車游戲的實驗算法

實驗1: function shuffle(target) {var j, x, i target.length;for (; i > 0; j parseInt(Math.random() * i), x target[--i], target[i] target[j], target[j] x) {}return target }function removeAt(target, index) {return !!target.splice(index, 1).…

selenium模塊

selenium模塊 閱讀目錄 一 介紹二 安裝三 基本使用四 選擇器五 等待元素被加載六 元素交互操作七 其他八 項目練習一 介紹 selenium最初是一個自動化測試工具,而爬蟲中使用它主要是為了解決requests無法直接執行JavaScript代碼的問題selenium本質是通過驅動瀏覽器,完…

關閉iphone來電mac_如何在Mac和iPhone上關閉通用剪貼板切換(以及為什么要禁用此功能)

關閉iphone來電macIm about to tell you something that will shock you, and probably make you very angry. I hope you wont hate me for it. Here goes.我正要告訴您一些令您震驚的事情,并可能使您非常生氣。 我希望你不會為此而恨我。 開始。 If you are an i…

關于tomcat Post 數據參數的問題

2019獨角獸企業重金招聘Python工程師標準>>> POST請求本身并未限制傳入參數大小&#xff0c;是tomcat 容器設置了接收參數大小的限制。修改server.xml <Connector port"8080" protocol"HTTP/1.1" connectionTimeout"2000" red…

iOS:通信錄(完成)(18-01-18更)

1、讀取通信錄 1&#xff09;、9.0以前&#xff1a;AddressBook 2&#xff09;、9.0以后&#xff1a;Contacts 2、調用通信錄UI&#xff08;不弄&#xff09; 1&#xff09;、9.0以前&#xff1a;AddressBookUI 2&#xff09;、9.0以后&#xff1a;ContactsUI 3、參考 0、寫在前…

如何在React Native和Firebase中設置Google登錄

Google sign-in is a great login feature to offer to your apps users. It makes it easier for them to create an account and sign in. Google登錄是一項出色的登錄功能&#xff0c;可為您的應用程序用戶提供。 這使他們更容易創建帳戶并登錄。 And whats even better, F…

設計模式-發布訂閱模式

這段時間在看vue的雙向綁定原理&#xff0c;知道了vue的核心三大件&#xff1a;Observer, Complie, Watcher。 Observer用于監聽屬性的變化&#xff0c;如有變動就通知 Watcher。 Compile負責解析元素節點的指令&#xff0c;如v-if&#xff0c;v-bind之類, 進行數據和回調函數的…

杜教篩--51nod1239 歐拉函數之和

求$\sum_{i1}^{n}\varphi (i)$&#xff0c;$n\leqslant 1e10$。 這里先把杜教篩的一般套路貼一下&#xff1a; 要求$S(n)\sum_{i1}^{n}f(i)$&#xff0c;而現在有一數論函數$g(i)$&#xff0c;$g(i)$的前綴和很無腦&#xff0c;且$f$和$g$的狄利克雷卷積的前綴和很無腦&#xf…

【Android Studio安裝部署系列】目錄

概述 從剛開始使用Android Studio到現在&#xff0c;下面所有目錄下的操作&#xff0c;當時習慣性的把每一個整理成一個文檔&#xff08;其實就是簡單文字描述截圖&#xff09;&#xff1b;有些地方當時是一知半解&#xff0c;現在會稍微明白一些。正好趕上現在有時間。所以就想…

修改npm全局安裝模式的路徑

修改npm全局安裝模式的路徑 在正式寫此文章之前&#xff0c;我得說一點血淚史。 剛學nodeJS不久&#xff0c;很納悶為什么全局安裝的模塊在 node安裝目錄/node_modules‘ 中沒找到&#xff01;后來仔細看了下安裝成功后的信息&#xff0c;才發現原來是自動安裝在C盤了&#xff…