# How can i debug plugin rubymine

**URL:** <https://discuss.hashicorp.com/t/how-can-i-debug-plugin-rubymine/33536>\
**Category:** Vagrant\
**Created:** [December 23, 2021, 8:23am UTC](https://discuss.hashicorp.com/t/how-can-i-debug-plugin-rubymine/33536 "2021-12-23T08:23:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dev.alperenkoksel](https://sea2.discourse-cdn.com/hashicorp/user_avatar/discuss.hashicorp.com/dev.alperenkoksel/32/24216_2.png) [@dev.alperenkoksel](https://discuss.hashicorp.com/u/dev.alperenkoksel)\
**Post date:** [December 23, 2021, 8:23am UTC](https://discuss.hashicorp.com/t/how-can-i-debug-plugin-rubymine/33536/1 "2021-12-23T08:23:37Z")

</div>

Hello,  
Does anyone knows how can I configure Rubymine to debug a plugin?  
I got a plugin that runs once Vagrant action ‘up’ or ‘reload’ called.

I tried to configure Rubymine to debug once those actions called but I couldn’t succeed.  
I found couple posts but did not help.

> **[Debug vagrant plugin](https://intellij-support.jetbrains.com/hc/en-us/community/posts/207083815-Debug-vagrant-plugin)**
>
> Hello,
> I'm developing a vagrant plugin to support a new provider, what I have to do to debug the plugin is:
> "bundle exec vagrant up"
> How can I configure this in Rubymine, since I have the plugin pr...

Plugin we working on:

> [@Download box from authenticated repo](https://discuss.hashicorp.com/t/download-box-from-authenticated-repo/24948/5):
>
> As I understand [machine\_names](https://www.rubydoc.info/github/mitchellh/vagrant/Vagrant%2FVagrantfile:machine_names) is a method of [Vagrantfile class](https://www.rubydoc.info/github/mitchellh/vagrant/Vagrant/Vagrantfile#initialize-instance_method) In order to have an instance of VagrantFile class, we need to [initialize](https://www.rubydoc.info/github/mitchellh/vagrant/Vagrant/Vagrantfile#initialize-instance_method) . Initialize has two input parameters… Initializes by loading a Vagrantfile. Parameters: loader (Config::Loader) — Configuration loader that should already be configured with the proper Vagrantfile locations. This usually comes from Environment keys (Array\<Symbol\>) — The Vagrantfiles to load and the order to load them in (keys within the loader). We have Co…
