run-task icon indicating copy to clipboard operation
run-task copied to clipboard

Add and document jar argument

Open ryantheleach opened this issue 3 years ago • 1 comments

When developing paper plugins, occasionally it is useful to know when it's being run inside a dev environment.

Adding a jar argument or environment variable to run-paper would allow plugins to enable extra debug behavior when running from a debugging environment.

ryantheleach avatar Jan 08 '22 01:01 ryantheleach

Note doPause inside net.minecraft.Util#doPause && net.minecraft.SharedConstants#IS_RUNNING_IN_IDE

ryantheleach avatar Jan 20 '22 05:01 ryantheleach

I don't think it's appropriate to set Minecraft's IDE flag indiscriminately, when debugging plugins it's not particularly useful.

I'll set the xyz.jpenilla.run-task system property to to true though.

jpenilla avatar Mar 22 '24 00:03 jpenilla