ko1 / debugger2 Goto Github PK
View Code? Open in Web Editor NEWThis project forked from cldwalker/debugger
port of debugger that works on MRI 2.0.0
License: BSD 2-Clause "Simplified" License
This project forked from cldwalker/debugger
port of debugger that works on MRI 2.0.0
License: BSD 2-Clause "Simplified" License
Hi guys, any chance to get the latest (1.3.3) version on rubygems.org ?
I don't find debugger2
in rubygems now.
This is readme:
gem build debugger2.gemspec
gem install debugger-1.0.0.gem
I built but I found debugger2-1.0.0.beta2.gem
. I installed this then I found gem debugger2 (1.0.0.beta2)
.
I'm confused.
Here is what I get:
2.0.0-p0 :001 > require 'debugger'
LoadError: cannot load such file -- ruby_debug.so
I created a new Gemfile (bundle init) with this content:
source "https://rubygems.org"
gem 'debugger', github: 'ko1/debugger2'
If you try to "bundle exec irb" and 'require "debugger"', you'll get the error above. How can I test this?
For example, when debugging this webapp under WEBrick, the debugger always stops inside Rack or WEBRick code (e.g. in my case, rack-1.5.2/lib/rack/handler/webrick.rb).
require 'sinatra'
require 'debugger2'
get '/' do
debugger
'Hello'
end
Strangely, this does never happen when running exact the same app under Thin web server (but unfortunately, it DOES happen when debugging Rails apps under any sort of web server, which indeed is our major concern).
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.