meteoris2
meteoris2 copied to clipboard
debuging meteoris (webstorm) using sudo
Meteoris needs to be started with sudo. I want to debug meteoris with webstorm. However, I have not found a way how webstorm could start debugging meteoris with sudo. How could I do that / what is your solution debugging meteoris?
actually I never using webstorm. :) would You mind to share how to debug using webstorm? maybe I can help if I know the basic
Well. Normally you just have to set a breakpoint have a default config (see: attachment) and just start debugger. It stops at each breakpoint and lets you see what happens ;) Everything runs pretty smothly until you need to run meteor with sudo. So far I haven't figured out a way to start debugging in webstorm with sudo meteor.
I read that starting webstorm with sudo should solve the problem. However, when I run or debug meteoris with webstorm it does not work (is there a way using meteoris without sudo?)
BR, Carsten
Have You tried chmod it?
ok, i chmod 777 .meteoris ...now it is debugging, but is this the correct way to go?
it's ok while it was just development version app. when You hit the production app, it's meteoris folder are not used, it will be build first into a production bundle. So it's ok that You chmod it on development version of Your app