|
| 1 | +// Running these tasks does not trigger a recompile, so you'll need to do that yourself. |
| 2 | +// |
| 3 | +// Make sure you're using a debug build when debugging. |
| 4 | +// Add `append_cflags ['-O0', '-g']` to extconf.rb to enable this. |
| 5 | +// |
| 6 | +{ |
| 7 | + // Use IntelliSense to learn about possible attributes. |
| 8 | + // Hover to view descriptions of existing attributes. |
| 9 | + // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 |
| 10 | + "version": "0.2.0", |
| 11 | + "configurations": [ |
| 12 | + { |
| 13 | + "type": "lldb", |
| 14 | + "request": "launch", |
| 15 | + "name": "Debug all tests in LLDB", |
| 16 | + "program": "/opt/rubies/3.3.4/bin/ruby", |
| 17 | + "args": [ |
| 18 | + "-w", |
| 19 | + "-Ilib", |
| 20 | + "-Itest", |
| 21 | + "/Users/alex/.gem/ruby/3.3.0/gems/rake-13.2.1/lib/rake/rake_test_loader.rb", |
| 22 | + "test/rbs/ancestor_builder_test.rb", |
| 23 | + "test/rbs/ancestor_graph_test.rb", |
| 24 | + "test/rbs/annotate/annotations_test.rb", |
| 25 | + "test/rbs/annotate/rdoc_annotator_test.rb", |
| 26 | + "test/rbs/annotate/rdoc_source_test.rb", |
| 27 | + "test/rbs/ast/type_param_test.rb", |
| 28 | + "test/rbs/ast/visitor_test.rb", |
| 29 | + "test/rbs/buffer_test.rb", |
| 30 | + "test/rbs/cli_test.rb", |
| 31 | + "test/rbs/collection/cleaner_test.rb", |
| 32 | + "test/rbs/collection/config_test.rb", |
| 33 | + "test/rbs/collection/installer_test.rb", |
| 34 | + "test/rbs/collection/sources/git_test.rb", |
| 35 | + "test/rbs/collection/sources/local_test.rb", |
| 36 | + "test/rbs/collection/sources/stdlib_test.rb", |
| 37 | + "test/rbs/definition_builder_test.rb", |
| 38 | + "test/rbs/diff_test.rb", |
| 39 | + "test/rbs/environment_loader_test.rb", |
| 40 | + "test/rbs/environment_test.rb", |
| 41 | + "test/rbs/environment_walker_test.rb", |
| 42 | + "test/rbs/errors_test.rb", |
| 43 | + "test/rbs/factory_test.rb", |
| 44 | + "test/rbs/file_finder_test.rb", |
| 45 | + "test/rbs/location_test.rb", |
| 46 | + "test/rbs/locator_test.rb", |
| 47 | + "test/rbs/method_builder_test.rb", |
| 48 | + "test/rbs/method_type_parsing_test.rb", |
| 49 | + "test/rbs/node_usage_test.rb", |
| 50 | + "test/rbs/parser_test.rb", |
| 51 | + "test/rbs/rb_prototype_test.rb", |
| 52 | + "test/rbs/rbi_prototype_test.rb", |
| 53 | + "test/rbs/rdoc/rbs_parser_test.rb", |
| 54 | + "test/rbs/repository_test.rb", |
| 55 | + "test/rbs/resolver/constant_resolver_test.rb", |
| 56 | + "test/rbs/resolver/type_name_resolver_test.rb", |
| 57 | + "test/rbs/runtime_prototype_test.rb", |
| 58 | + "test/rbs/schema_test.rb", |
| 59 | + "test/rbs/signature_parsing_test.rb", |
| 60 | + "test/rbs/sorter_test.rb", |
| 61 | + "test/rbs/subtractor_test.rb", |
| 62 | + "test/rbs/test/hook_test.rb", |
| 63 | + "test/rbs/test/runtime_test_test.rb", |
| 64 | + "test/rbs/test/setup_helper_test.rb", |
| 65 | + "test/rbs/test/tester_test.rb", |
| 66 | + "test/rbs/test/type_check_test.rb", |
| 67 | + "test/rbs/type_alias_dependency_test.rb", |
| 68 | + "test/rbs/type_alias_regulartiry_test.rb", |
| 69 | + "test/rbs/type_parsing_test.rb", |
| 70 | + ], |
| 71 | + "cwd": "${workspaceFolder}", |
| 72 | + "stopOnEntry": false, |
| 73 | + }, |
| 74 | + { |
| 75 | + "type": "lldb", |
| 76 | + "request": "launch", |
| 77 | + "name": "Debug test in LLDB", |
| 78 | + "program": "/opt/rubies/3.3.4/bin/ruby", |
| 79 | + "args": [ |
| 80 | + "-Ilib", |
| 81 | + "-Itest", |
| 82 | + "${workspaceFolder}/bin/test_runner.rb", |
| 83 | + "${workspaceFolder}/test/rbs/location_test.rb" |
| 84 | + ], |
| 85 | + "cwd": "${workspaceFolder}", |
| 86 | + "stopOnEntry": false, |
| 87 | + }, |
| 88 | + { |
| 89 | + "type": "lldb", |
| 90 | + "request": "launch", |
| 91 | + "name": "Debug test/rbs/location_test.rb", |
| 92 | + "program": "/opt/rubies/3.3.4/bin/ruby", |
| 93 | + "args": [ |
| 94 | + "-Ilib", |
| 95 | + "-Itest", |
| 96 | + "${workspaceFolder}/bin/test_runner.rb", |
| 97 | + "${workspaceFolder}/test/rbs/location_test.rb" |
| 98 | + ], |
| 99 | + "cwd": "${workspaceFolder}", |
| 100 | + "stopOnEntry": false, |
| 101 | + }, |
| 102 | + { |
| 103 | + "type": "lldb", |
| 104 | + "request": "launch", |
| 105 | + "name": "Debug test/rbs/ancestor_builder_test.rb", |
| 106 | + "program": "/opt/rubies/3.3.4/bin/ruby", |
| 107 | + "args": [ |
| 108 | + "-Ilib", |
| 109 | + "-Itest", |
| 110 | + "${workspaceFolder}/bin/test_runner.rb", |
| 111 | + "${workspaceFolder}/test/rbs/ancestor_builder_test.rb" |
| 112 | + ], |
| 113 | + "cwd": "${workspaceFolder}", |
| 114 | + "stopOnEntry": false, |
| 115 | + }, |
| 116 | + |
| 117 | + ] |
| 118 | +} |
0 commit comments