並び順

ブックマーク数

期間指定

  • から
  • まで

1 - 40 件 / 124件

新着順 人気順

debugの検索結果1 - 40 件 / 124件

  • vscode-rdbg(debug.gem)でのRubyデバッグが便利すぎる - $shibayu36->blog;

    最近Rubyを学び直したり、アルゴリズムの基礎練をしたりしているのだが、debug.gemおよびvscode-rdbgが便利すぎるので紹介。 debug.gemやvscode-rdbgとは debug.gem( https://github.com/ruby/debug )とは最近のRubyのモダンなdebugger。これまでlib/debug.rbやbyebug、debaseなどがあったが、それらのいくつかの課題を解決したdebuggerとなっている。Ruby 3.1 の debug.gem を自慢したい - クックパッド開発者ブログ に背景や基本的な使い方が詳しく載っている。 またRubyKaigi 2022のruby/debug - The best investment for your productivity - RubyKaigi 2022でも紹介された。Scriptable

      vscode-rdbg(debug.gem)でのRubyデバッグが便利すぎる - $shibayu36->blog;
    • Dockerがコードネーム「Docker Debug」発表、コンテナ内に任意のデバッグツール群を一括導入、効率的なデバッグを実現。DockerCon 23

      Dockerがコードネーム「Docker Debug」発表、コンテナ内に任意のデバッグツール群を一括導入、効率的なデバッグを実現。DockerCon 23 Docker社は米ロサンゼルスで10月3日と4日の2日間、年次イベント「DockerCon 23」を開催しました。 1日目の基調講演で、Dockerコンテナ内でのアプリケーションのデバッグを高効率化するDocker Desktopの新しい拡張機能「Docker Debug」(コードネーム)が発表されました。 コンテナのデバッグは面倒 一般にDockerコンテナは、使用メモリの最小化とセキュリティを高めるなどの目的で、余計なシェルコマンドやツールなどを徹底的にそぎ落としたOSの上にアプリケーションを載せた構成にします。 そのため、コンテナ内のアプリケーションに問題が発生し、その解決のために基本的な動作確認や設定確認などをしようとした場合で

        Dockerがコードネーム「Docker Debug」発表、コンテナ内に任意のデバッグツール群を一括導入、効率的なデバッグを実現。DockerCon 23
      • Ruby 3.1 の debug.gem を自慢したい - クックパッド開発者ブログ

        技術部の笹田です。今日保育園に娘を送りにいったら、娘が先生に「サンタさんにプレゼントもらったよ! お母さんもプレゼントもらってたけどお父さんはもらってなかった!」と報告しており、私だけが悪い子と保育園に伝わってしまいました。 2021年は、笹田は Ruby 3.1 に導入された debug.gem (ruby/debug: Debugging functionality for Ruby)に結構長い時間をかけました(かけてしまいました)。だいたい半年で終わるだろうと思ってたんですが、終わらず。Ractor をもっとやる予定だったんだけどなぁ。ソフトウェア開発の見積もりは難しいですね。 本記事では、debug.gem について、導入の背景、簡単な使い方、それからちょっと面白い機能までご紹介します。 youtu.be (本稿では動画をいくつか載せていますが、動画作成時と記事執筆時が違うので、そ

          Ruby 3.1 の debug.gem を自慢したい - クックパッド開発者ブログ
        • 人のコードを読むのしんどい、自分の環境だと動かない…… 「debug力」で解決するデータ分析のぴえんをこえてぱおん状態

          「分析コンペLT会」は、KaggleやSIGNATEなど、データ分析のコンペに関連するLT(ライトニングトーク)を行う会です。久保田氏はデバッガの必要性と、jupyter notebookでのdebug方法について発表しました。 debug力があれば軽減されるノートブック入門のあるある 久保田史洋氏(以下、久保田):今日は5分のLT(ライトニングトーク)なので、5分で終われるかがちょっと不安ですが、急ぎ足で「jupyter notebookでのdebug入門」というタイトルで発表します。よろしくお願いします。 自己紹介も短めです。「Twitter」「Kaggle」を「fkubota」という名前でやっています。バンドルカードの株式会社カンムで、機械学習エンジニアをやっているKaggle Expertです。 コンテンツは、主にビギナーに向けて話します。2本立てで、「debugについて」「jup

            人のコードを読むのしんどい、自分の環境だと動かない…… 「debug力」で解決するデータ分析のぴえんをこえてぱおん状態
          • GitHub - shuding/tilg: A magical React Hook that helps you debug components.

            You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

              GitHub - shuding/tilg: A magical React Hook that helps you debug components.
            • Rubyでdebug用のloggerをお手軽低コストに仕込む

              まとめproduction での実行記録をちゃんと残すという意味ではなく(なんか変かも?)と思って調べる時やテスト実行時に役に立つ debug 用の logger の設定方法をまとめるlogger の block 記法と caller が便利Loggerのblock記法はRails GuideでImpact of Logs on Performanceとして紹介されているDebugging Rails Applications — Ruby on Rails Guides 曰く

              • How to debug C and C++ programs with rr | Red Hat Developer

                The common theme in many time-travel movies is to go back in time to find out what went wrong and fix it. Developers also have that desire to go back in time and find why the code broke and fix it. But, often, that crucial step where everything went wrong happened long ago, and the information is no longer available. The rr project lets programmers examine the entire life of a C or C++ program run

                  How to debug C and C++ programs with rr | Red Hat Developer
                • kubectl execは禁止!? kubectl debugの勧め | IIJ Engineers Blog

                  社会人生活の半分をフリーランス、半分をIIJで過ごすエンジニア。元々はアプリケーション屋だったはずが、クラウドと出会ったばかりに半身をインフラ屋に売り渡す羽目に。現在はコンテナ技術に傾倒中だが語りだすと長いので割愛。タグをつけるならコンテナ、クラウド、ロードバイク、うどん。 Kubernetes 1.23から標準で利用できるようになったエフェメラルコンテナ(Ephemeral Container)をご存じですか? セキュアにKubernetesを運用していくには必須の機能になることは間違いなく、IKE(IIJ Kubernetes Engine)では早速活用が始まっています。実利用に耐える環境が整うにはまだ少し時間がかかるかもしれませんが、今のうちから使いこなせるように紹介します。 エフェメラルコンテナ 一般的には聞きなれないかもしれませんが、IaaSを使っていればエフェメラル(Ephem

                    kubectl execは禁止!? kubectl debugの勧め | IIJ Engineers Blog
                  • ftrace を使ったコンテナ内デバッグの準備/container-debug-using-ftrace

                    Embedded Container Runtime Updates - The container performance issues caused by the cgroup

                      ftrace を使ったコンテナ内デバッグの準備/container-debug-using-ftrace
                    • mysql-build-debug-and-test

                      OSC Online/Hokkaido 2023 で発表した内容です。 以下、参考文献 実例で学ぶ MySQL/MariaDB デバッグ - https://nayuta-yanagisawa.hatenablog.com/entry/learning-mysql-mariadb-debugging-by-example - Run MySQL Test Suite - https://dev.mysql.com/doc/dev/mysql-server/latest/PAGE_MYSQL_TEST_RUN_PL.html - Expert MySQL - High Performance MySQL 4th Edition - 日々の覚書 - https://yoku0825.blogspot.com/ - 困ったら大体ここ見てどうにかなる

                        mysql-build-debug-and-test
                      • Ruby: byebugからruby/debugへの移行ガイド(翻訳)|TechRacho by BPS株式会社

                        新しいデバッガに乗り換えてデバッグプロセスを変更するのがつい億劫になることもあるでしょう。本記事によって、皆さんがruby/debugに親しんでスムーズに移行する助けになることを願っています。 以下、debugはruby/debugを指します。 免責事項 著者はdebugと比べてbyebugの経験があまりありません。不正確な情報や古い情報がありましたらぜひお知らせください。 本記事の目的は高度なレベルで比較を行うことです。debugの特定の利用方法については公式ドキュメントを参照してください。 本記事はすべての機能を網羅しているわけではありませんが、ほとんどの機能をカバーしているはずです。 🔗 debugを使うメリット 個別の機能を解説する前に、debugを使うメリットについて簡単に触れておきたいと思います。 1. 出力がカラー化されている 2. メソッドやブロックの引数をバックトレース

                          Ruby: byebugからruby/debugへの移行ガイド(翻訳)|TechRacho by BPS株式会社
                        • Code and debug with Bard

                            Code and debug with Bard
                          • debug.gem、VS Code Debug Visualizer を使ってデバッグ中のオブジェクトをビジュアライズしてみる

                            概要 VS Code Debug Visualizer という VS Code のエクステンションをご存知でしょうか。デバッグ中のオブジェクトを以下のようにビジュアライズしてくれるものです。 VS Code Debug Visualizer ではこれまで Ruby のサポートはされていませんでしたが、最新バージョン(本稿執筆時点ではバージョン2.4)より debug.gem を用いてのビジュアライズが可能になりました。 本稿ではそれらの実際の使い方についてお話ししていきます。 対象読者 本記事では VScode を用いた debug.gem の簡単な利用方法について理解していて、既にそれらのセットアップが完了している方を想定しています。 VScode を用いた debug.gem の使い方やセットアップ方法については以下のリンクなどをご覧ください。 事前準備 事前準備として VS Code

                              debug.gem、VS Code Debug Visualizer を使ってデバッグ中のオブジェクトをビジュアライズしてみる
                            • tech/ruby-rails/雑記/2021/09/18/Docker内Rubyプロセスdebug gemへnative Chrome Dev Toolsからアクセス

                              > Dockerの中で起動しているRubyプロセスにネイティブのChromeから接続 - Ruby code編Dockerの中で起動しているRubyプロセスにネイティブのChromeから接続 - Ruby code編 Dockerの中でopen chromeしてネイティブのChromeから接続する (native) docker run -v /Users/igaiga/work:/work -p 45555:45555 --rm -it rubylang/ruby /bin/bash

                                tech/ruby-rails/雑記/2021/09/18/Docker内Rubyプロセスdebug gemへnative Chrome Dev Toolsからアクセス
                              • Debug Visualizer - Visual Studio Marketplace

                                Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter. Debug Visualizer A VS Code extension for visualizing data structures while debugging. Like the VS Code's watch view, but with rich visualizations of the watched value. Visualization Playground Click here to explore all available visualizations. Supported Languages See demos for demos. These languages and debuggers ar

                                  Debug Visualizer - Visual Studio Marketplace
                                • Dockerがコードネーム「Docker Debug」発表 コンテナ内に任意のデバッグツール群を一括導入、効率的なデバッグを実現

                                  この記事は新野淳一氏のブログ「Publickey」に掲載された「Dockerがコードネーム「Docker Debug」発表、コンテナ内に任意のデバッグツール群を一括導入、効率的なデバッグを実現。DockerCon 23」(2023年10月12日掲載)を、ITmedia NEWS編集部で一部編集し、転載したものです。 米Docker社は米ロサンゼルスで10月3日と4日の2日間、年次イベント「DockerCon 23」を開催しました。 1日目の基調講演で、Dockerコンテナ内でのアプリケーションのデバッグを高効率化するDocker Desktopの新しい拡張機能「Docker Dubug」(コードネーム)が発表されました。 コンテナのデバッグは面倒 一般にDockerコンテナは、使用メモリの最小化とセキュリティを高めるなどの目的で、余計なシェルコマンドやツールなどを徹底的にそぎ落としたOSの

                                    Dockerがコードネーム「Docker Debug」発表 コンテナ内に任意のデバッグツール群を一括導入、効率的なデバッグを実現
                                  • Debug layout shifts  |  Articles  |  web.dev

                                    LayoutShiftAttribution The LayoutShiftAttribution interface describes a single shift of a single DOM element. If multiple elements shift during a layout shift, the sources property contains multiple entries. For example, the JSON below corresponds to a layout shift with one source: the downward shift of the <div id='banner'> DOM element from y: 76 to y:246. // ... "sources": [ { "node": "div#banne

                                      Debug layout shifts  |  Articles  |  web.dev
                                    • Debug Shell · OrbStack Docs

                                      OrbStack Debug Shell provides useful commands & tools, making it easy to debug any container (even minimal/distroless/read-only containers that have no shell or commands). Compared to docker exec, Debug Shell has: Shell auto-complete and syntax highlightingEditors (nano, vim)Common tools (htop, curl, strace, ip, etc.)Colorful output in ls and other commandsPackage manager with over 80,000 packages

                                      • GitHub - hediet/vscode-debug-visualizer: An extension for VS Code that visualizes data during debugging.

                                        A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

                                          GitHub - hediet/vscode-debug-visualizer: An extension for VS Code that visualizes data during debugging.
                                        • GitHub - nvh95/jest-preview: Debug your Jest tests. Effortlessly.🛠🖼

                                          You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

                                            GitHub - nvh95/jest-preview: Debug your Jest tests. Effortlessly.🛠🖼
                                          • ruby/debugのChrome Devtools連携をRailsで動かす|TechRacho by BPS株式会社

                                            morimorihogeです。涼しくなってようやく生きていける感じになって何よりです。 今回はruby/debugに新しく導入されたChrome Devtools連携リモートデバッグ機能を動かしてみたので、そちらを紹介してみようと思います。 ことの起こり 新しいRuby標準デバッガとして開発が進んでいるruby/debugですが、先日こんなTweetがありました。 debug.gem and Chrome browser integration. Thanks Ono-san! pic.twitter.com/3aUdH2zbEo — _ko1 (@_ko1) October 14, 2021 なにこれすごくない!?と思い、今回の記事を書くに至りました。 動きとしては、デバッガのコンソールで open chrome コマンドを実行するとURLが表示され、そのURLにChromeでアクセスす

                                              ruby/debugのChrome Devtools連携をRailsで動かす|TechRacho by BPS株式会社
                                            • GitHub - HallerPatrick/frosch: 🐸 Debug faster than a frog catches a fly

                                              You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

                                                GitHub - HallerPatrick/frosch: 🐸 Debug faster than a frog catches a fly
                                              • GitHub - ruby/debug: Debugging functionality for Ruby

                                                You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

                                                  GitHub - ruby/debug: Debugging functionality for Ruby
                                                • 週刊Railsウォッチ: Rails 7でbyebugがruby/debugに変更、GitHub Codespacesをサポートほか(20211004前編)|TechRacho by BPS株式会社

                                                  週刊Railsウォッチについて 各記事冒頭には🔗でパーマリンクを置いてあります: 社内やTwitterでの議論などにどうぞ 「つっつきボイス」はRailsウォッチ公開前ドラフトを(鍋のように)社内有志でつっついたときの会話の再構成です👄 お気づきの点がありましたら@hachi8833までメンションをいただければ確認・対応いたします🙏 TechRachoではRubyやRailsなどの最新情報記事を平日に公開しています。TechRacho記事をいち早くお読みになりたい方はTwitterにて@techrachoのフォローをお願いします。また、タグやカテゴリごとにRSSフィードを購読することもできます(例:週刊Railsウォッチタグ) 🔗Rails: 先週の改修(Rails公式ニュースより) 公式更新情報が大量に出ているので、泣く泣く絞ってみました。 Bye-bye Byebug, Hel

                                                    週刊Railsウォッチ: Rails 7でbyebugがruby/debugに変更、GitHub Codespacesをサポートほか(20211004前編)|TechRacho by BPS株式会社
                                                  • 開発チームのテンションがアガる "Debug icon kit" を公開しました - mikan Developers' Blog

                                                    こんにちは、株式会社mikanでデザインを担当している @3izorin です。 デザインチーム(といっても一人なので絶賛募集中です)のブログは初めてですね。 今回のブログは短いんですが、 debug版のアイコンを作った話を書いていきます。 きっかけは毎週のQAから できたもの こうかはばつぐんだ! OSSとして公開しました おわりに きっかけは毎週のQAから 英単語アプリmikanは週次でスプリントを回しているので、基本的に毎週アップデートしています。 ドッグフーディング含め QAもその都度行っているので debug版や inhouse版を毎週触っています。 ちなみにですが、「ドッグフーディング」 は アメリカのペットフード会社 "Kal Kan Pet Food" の社長が自社のドッグフードを食べていたのが起源らしいです (諸説あり) 。 QAでは 新機能の動作確認や既存機能への影響な

                                                      開発チームのテンションがアガる "Debug icon kit" を公開しました - mikan Developers' Blog
                                                    • MSI PC does not boot with Debug Code LED 0d - ITips

                                                      Sometimes homebuilt computer does not boot. Debug code LED on motherboard shows "0d". What is "0d" ? What should we do with this debug code "0d" ? This article introduce reason and solution in case of debug code "0d". Over 10 years experienced IT engineer. I like video games and homebuilt computer. I'm interested in specific motherboard with many DRAM slots. Main PC has 128GB memory now. MSI PC do

                                                        MSI PC does not boot with Debug Code LED 0d - ITips
                                                      • MSIのPCがDebug Code LED 0dで起動しない - ITips

                                                        ITエンジニア歴10年以上。 趣味はゲームに自作PC。 メモリスロットが多いマザーボードが好きで、現在のメインPCはメモリ128GB積んでます。 MSIのPCがDebug Code LED 0dで起動しない現象 MSIのPCがDebug Code LED 0dで起動しない現象としては以下の通り。 PCの電源は入っている 電源を入れるとマザーボードやGPUのファンは動く ディスプレイには何も映らない BIOSが起動する前にマザーボードのDebug Code LEDが「0d」の状態で停止する この現象のやっかいな点として、画面に何も映らないので何が原因でどんなエラーが起こっているのかわかりにくい点がある。 実際この状況で得られる情報としては、マザーボードにある2桁のLEDで表示される「0d」という文字のみだ。 私もこの現象に見舞われた際はかなり焦った。 【MSI Debug Code LED

                                                          MSIのPCがDebug Code LED 0dで起動しない - ITips
                                                        • 【小ネタ】AWSのプロが aws cli を使う方法 (debug オプション) | DevelopersIO

                                                          コンサル部の(キム)テウです。 来年からは韓国の人がガンガン採用されて入社するので、これからは下の名前だけで呼ばれることになりました。 韓国ですと、金(キム)は多すぎますので(笑) 今回は aws cli を使う時に問題が発生して、そこで何が問題だったかを早く把握できる --debug オプションをご紹介させていただきます。 --debug オプションの使い方 他の cli ツールと一緒で、aws cli も --debug オプションが利用可能です。 $ aws ecr describe-repositories --debug こんな感じにコマンドの最後に --debug オプションを付けるだけで、下のようなログが見えます。 $ aws s3api create-bucket --bucket aws-cli-sample-bucket-twkiiim --region=ap-nort

                                                            【小ネタ】AWSのプロが aws cli を使う方法 (debug オプション) | DevelopersIO
                                                          • GitHub - SoptikHa2/desed: Debugger for Sed: demystify and debug your sed scripts, from comfort of your terminal.

                                                            A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

                                                              GitHub - SoptikHa2/desed: Debugger for Sed: demystify and debug your sed scripts, from comfort of your terminal.
                                                            • Setup ruby/debug with VSCode

                                                              Do you know Ruby's official debugger ruby/debug provides out-of-box integration with VSCode? If you haven't tried it yet or having difficulty making it work, I hope this short post will help you set it up. Basic Setup Install the VSCode rdbg extension in VSCode Create the launch.json file Click Run and Debug button on the left side Click create a launch.json file - this is quite small and under To

                                                                Setup ruby/debug with VSCode
                                                              • Debug z-index stacking content with 3D View in the Microsoft Edge DevTools

                                                                We are thrilled to announce the next iteration of 3D View in the Microsoft Edge DevTools, with a new feature to help debug z-index stacking context. The general 3D View shows a representation of the DOM (Document Object Model) depth using color and stacking, and the z-Index view helps you isolate the different stacking contexts of your page. 3D view is enabled by default in the Canary branch – to

                                                                  Debug z-index stacking content with 3D View in the Microsoft Edge DevTools
                                                                • ruby/debug cheatsheet

                                                                  This cheatsheet can help you get started with ruby/debug as well as use it in your daily development. It's not an exhausting list of its features or commands, so please go through its document as well. If you're migrating from byebug, I also recommend checking my byebug to ruby/debug migration guide. I also shared how to build a powerful debugging workflow with it in my talk: ruby/debug - The best

                                                                    ruby/debug cheatsheet
                                                                  • [GitHub]Actionsの動作確認時は忘れずにACTIONS_RUNNER_DEBUGとACTIONS_STEP_DEBUGを設定しよう | DevelopersIO

                                                                    [GitHub]Actionsの動作確認時は忘れずにACTIONS_RUNNER_DEBUGとACTIONS_STEP_DEBUGを設定しよう GitHub ActionsのWorkflow検証にて、一切のログがない状態で頭を抱えることを防ぐためにも必須なオプションについて、設定前後含めて触れてみました。 はじめに Actionsの動作確認をしている時に「あまりにもログに情報がでなさすぎる」と思う人がいるかもしれません。 その通りで、初期設定だとほぼ出ません。詳細な情報を出したい場合には少し設定が要りますが、要るということに辿り着くのも結構かかりました。 設定前後でどのくらいの情報量の違いがあるのかを含めてまとめました。 必要な設定 各設定の詳細は以下の通り。 ACTIONS_RUNNER_DEBUG Runnerの実行ログ ACTIONS_STEP_DEBUG Step毎の実行ログ 要は

                                                                      [GitHub]Actionsの動作確認時は忘れずにACTIONS_RUNNER_DEBUGとACTIONS_STEP_DEBUGを設定しよう | DevelopersIO
                                                                    • 【Unity】Debug.Logはもう古い!? Unity公式のLoggingパッケージ「Unity Logging」の使い方まとめ - はなちるのマイノート

                                                                      はじめに これはUnity Advent Calendar 2023の15日目の記事です。 qiita.com この記事ではUnity公式のLoggingパッケージであるUnity Loggingを紹介したいと思います。 はじめに 概要 導入 環境 基本的な使い方 LogLevel ログ出力 Default Configure Custom Configure MinimumLevel OutputTemplate CaptureStacktrace RedirectUnityLogs SyncMode ログの出力先(Sinks)の設定 ファイルシステム コンソール それ以外 サンプルコード 参考 概要 Unity LoggingはUnity公式が出しているLoggingパッケージです。Log.〇〇を実行したログをコンソールに出力するだけでなく、テキストファイルとして出力したりJSONとし

                                                                        【Unity】Debug.Logはもう古い!? Unity公式のLoggingパッケージ「Unity Logging」の使い方まとめ - はなちるのマイノート
                                                                      • GitHub - mxschmitt/action-tmate: Debug your GitHub Actions via SSH by using tmate to get access to the runner system itself.

                                                                        You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.

                                                                          GitHub - mxschmitt/action-tmate: Debug your GitHub Actions via SSH by using tmate to get access to the runner system itself.
                                                                        • Laravel <= v8.4.2 debug mode: Remote code execution

                                                                          Posted By Charles Fol laravel rce debug file write file read CVE-2021-3129 Laravel <= v8.4.2 debug mode: Remote code execution (CVE-2021-3129)In late November of 2020, during a security audit for one of our clients, we came accross a website based on Laravel. While the site's security state was pretty good, we remarked that it was running in debug mode, thus displaying verbose error messages inclu

                                                                            Laravel <= v8.4.2 debug mode: Remote code execution
                                                                          • Node.js App debug, perf up 戦略 - tkdn

                                                                            node --inspect=0.0.0.0:9229 app Docker コンテナ内で利用するには 0.0.0.0 が味噌

                                                                              Node.js App debug, perf up 戦略 - tkdn
                                                                            • RubyKaigi 2021で発表された新しいdebug.gemを試してみた

                                                                              Leaner Technologies の ころちゃん(@corocn) です。 RubyKaigi Takeout 2021 に業務で参加してきました。一緒に参加した同僚が型や RBS 周りの記事を書いてくれるようなので、デバッガ周りの話を振り返っておきます。デバッガは日々お世話になっていて最近関心の高いトピックなので選びました。 The Art of Execution Control for Ruby's Debugger Agenda なぜ新しい debug.gem か? インストールと使い方 Record and replay を試す VSCode 拡張と Remote Debugging を試す Rails 7 と Kernel#debugger の話 なぜ新しいdebug.gem? パフォーマンスを改善したい 発表動画14:00あたりから引用 既存のデバッガの場合、ブレークポ

                                                                                RubyKaigi 2021で発表された新しいdebug.gemを試してみた
                                                                              • Debug memory leaks with the Microsoft Edge Detached Elements tool

                                                                                Memory leaks occur when the JavaScript code of an application retains more and more objects in memory that it doesn’t need any longer instead of releasing them for the browser to garbage collect (GC). For long-running apps, small memory leaks of only a few kilobytes can add up to noticeably degrade performance over time. Web developers who use the React framework know that React maintains a virtua

                                                                                  Debug memory leaks with the Microsoft Edge Detached Elements tool
                                                                                • VSCodeでDockerを使ったRailsを開発しよう~Ruby3.1以降 Debug編~

                                                                                  開発者のマシンで開発環境を構築する際にDocker及びDocker composeを使って開発することが一般的になりました。いままではターミナルからdocker composeコマンドを実行してテストや動作確認をしていましたが、VS CodeのDev Containers拡張を使いよりVS Codeで便利に開発する方法を提案します。 今回はRuby3.1のdebug.gemを使ったRailsプロジェクトで、VS Codeのデバッグ機能をDev Containersと一緒に使う方法を紹介します。 VSCodeでDockerを使ってRailsを開発しよう~Dev Containers編~開発者のマシンで開発環境を構築する際にDocker及びDocker composeを使って開発することが一般的になりました。ターミナルからdocker composeコマンドを実行してテストや動作確認するのがセ

                                                                                    VSCodeでDockerを使ったRailsを開発しよう~Ruby3.1以降 Debug編~