Mac10.12 Ruby2.4.0 vscode debug 报错
PHP中文网
PHP中文网 2017-04-25 09:03:48
0
1
1556

ruby好不容易升级到了2.4.0
用的编辑器是vscode 1.9

gem安装了 debug-ide 可是为什么我在code中debug还是报错。

就一句puts 123。不至于吧

贴上报错代码

    /Users/jason/.rvm/gems/ruby-2.4.0/bin/ruby_executable_hooks:15:in `eval'
    /Users/jason/.rvm/gems/ruby-2.4.0/bin/ruby_executable_hooks:15:in `<main>'
/Users/jason/.rvm/gems/ruby-2.4.0/gems/ruby-debug-ide-0.6.1.beta3/lib/ruby-debug-ide.rb:91:in `debug_load': cannot load such file -- /Users/jason/Downloads/Study/main.rb (LoadError)
    from /Users/jason/.rvm/gems/ruby-2.4.0/gems/ruby-debug-ide-0.6.1.beta3/lib/ruby-debug-ide.rb:91:in `debug_program'
    from /Users/jason/.rvm/gems/ruby-2.4.0/gems/ruby-debug-ide-0.6.1.beta3/bin/rdebug-ide:157:in `<top (required)>'
    from /Users/jason/.rvm/gems/ruby-2.4.0/bin/rdebug-ide:22:in `load'
    from /Users/jason/.rvm/gems/ruby-2.4.0/bin/rdebug-ide:22:in `<main>'
    from /Users/jason/.rvm/gems/ruby-2.4.0/bin/ruby_executable_hooks:15:in `eval'
    from /Users/jason/.rvm/gems/ruby-2.4.0/bin/ruby_executable_hooks:15:in `<main>'
Debugger error: Client: Error: read ECONNRESET

求教老司机!

PHP中文网
PHP中文网

认证高级PHP讲师

membalas semua(1)
为情所困

Saya tahu~Hahaha

Kesimpulannya ialah direktori kerja tidak betul. Akibatnya, main.rb tidak dapat ditemui. Fail konfigurasi nyahpepijat vscode perlu menukar laluan kerja atau membukanya ke direktori kerja

Muat turun terkini
Lagi>
kesan web
Kod sumber laman web
Bahan laman web
Templat hujung hadapan
Tentang kita Penafian Sitemap
Laman web PHP Cina:Latihan PHP dalam talian kebajikan awam,Bantu pelajar PHP berkembang dengan cepat!