File tree Expand file tree Collapse file tree 6 files changed +73
-14
lines changed Expand file tree Collapse file tree 6 files changed +73
-14
lines changed Original file line number Diff line number Diff line change 11Gemfile.lock
22vendor /
3+ bin /
Original file line number Diff line number Diff line change 1+ 3.2.2
Original file line number Diff line number Diff line change 11{
2+ "$schema" : " https://puremourning.github.io/vimspector/schema/vimspector.schema.json" ,
3+ "adapters" : {
4+ "rdbg-script" : {
5+ "variables" : {
6+ "port" : " ${unusedLocalPort}"
7+ },
8+ "launch" : {
9+ "remote" : {
10+ "runCommand" : [
11+ " ${workspaceRoot}/bin/rdbg" ,
12+ " --open" ,
13+ " --port" , " ${port}" ,
14+ " --" ,
15+ " %CMD%"
16+ ]
17+ }
18+ },
19+ "port" : " ${port}"
20+ },
21+ "rdbg-command" : {
22+ "variables" : {
23+ "port" : " ${unusedLocalPort}"
24+ },
25+ "launch" : {
26+ "remote" : {
27+ "runCommand" : [
28+ " ${workspaceRoot}/bin/rdbg" ,
29+ " --open" ,
30+ " --port" , " ${port}" ,
31+ " -c" ,
32+ " --" ,
33+ " %CMD%"
34+ ]
35+ }
36+ },
37+ "port" : " ${port}"
38+ }
39+ },
240 "configurations" : {
3- "launch current file" : {
4- "adapter" : " cust_vscode-ruby" ,
41+ "run current script" : {
42+ "adapter" : " rdbg-script" ,
43+ "remote-cmdLine" : [
44+ " ${file}"
45+ ],
46+ "configuration" : {
47+ "request" : " launch"
48+ }
49+ },
50+ "run rails" : {
51+ "adapter" : " rdbg-command" ,
52+ "remote-cmdLine" : [
53+ " rails" ,
54+ " server"
55+ ],
556 "configuration" : {
6- "request" : " launch" ,
7- "program" : " ${file}" ,
8- "args" : [ " *${args}" ],
9- "useBundler" : true ,
10- "trace" : true ,
11- "showDebuggerOutput" : true
57+ "request" : " launch"
1258 }
1359 }
1460 }
Original file line number Diff line number Diff line change 22
33source "https://rubygems.org"
44
5- git_source ( :github ) { |repo_name | "https://github.com/#{ repo_name } " }
6-
75# gem "rails"
86
9- gem "ruby-debug-ide" , "~> 0.7.2"
10-
11- gem "debase" , "~> 0.2.4"
7+ gem "debug" , "~> 1.9"
Original file line number Diff line number Diff line change 1+ # First, make sure that ruby 3 is in your path
2+
3+ bundle install
4+ bundle binstubs --force debug
Original file line number Diff line number Diff line change 1- print 'hello' 'world'
1+ class Foo
2+ def initialize
3+ @bar = 'bar'
4+ end
5+
6+ def bar
7+ @bar
8+ end
9+ end
10+
11+ f = Foo . new
12+ puts f . bar
You can’t perform that action at this time.
0 commit comments