# Test command line arguments in editor

**URL:** <https://forums.unrealengine.com/t/test-command-line-arguments-in-editor/340799>\
**Category:** Mobile\
**Tags:** unreal-engine, editor, UE4, question\
**Created:** [December 8, 2015, 12:51am UTC](https://forums.unrealengine.com/t/test-command-line-arguments-in-editor/340799 "2015-12-08T00:51:37Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_e8414475](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_e8414475](https://forums.unrealengine.com/u/anonymous_user_e8414475)\
**Post date:** [December 8, 2015, 12:51am UTC](https://forums.unrealengine.com/t/test-command-line-arguments-in-editor/340799/1 "2015-12-08T00:51:37Z")

</div>

Is there a method to test if command line parameter are working in the editor. I have code that’s dependent on input from the command line and want to test it without building the game.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_2ed5b4c7](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_2ed5b4c7](https://forums.unrealengine.com/u/anonymous_user_2ed5b4c7)\
**Post date:** [December 8, 2015, 9:05am UTC](https://forums.unrealengine.com/t/test-command-line-arguments-in-editor/340799/2 "2015-12-08T09:05:16Z")

</div>

Hi!

You can test comand line parameters adding it to Editor Preference

 ![69695-param.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/2/0/620ac661b5ca5bacaadf88188aa6fe304d7cbffb.png)

---

<div class="post-metadata">

**Author:** ![Avelworldcreator](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Avelworldcreator](https://forums.unrealengine.com/u/Avelworldcreator)\
**Post date:** [February 19, 2019, 12:18pm UTC](https://forums.unrealengine.com/t/test-command-line-arguments-in-editor/340799/3 "2019-02-19T12:18:26Z")

</div>

This absolutely did not work for me. I’m using the “Get Command Line” Blueprint node and it is consistently returning a blank for a single word put in that field.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_cc63d76e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_cc63d76e](https://forums.unrealengine.com/u/anonymous_user_cc63d76e)\
**Post date:** [April 22, 2019, 4:35pm UTC](https://forums.unrealengine.com/t/test-command-line-arguments-in-editor/340799/4 "2019-04-22T16:35:56Z")

</div>

This works fine. Per the screenshot above, this setting only applies to **“Play in Standalone Game”** , and not to Play in Editor. To run in Standalone mode, see screenshot below

![274799-annotation-2019-04-21-100309.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/2/3/e23be68109961cdc7038e0e7972d443ab78fdde5.png)

---

<div class="post-metadata">

**Author:** ![Reahreic](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/reahreic/32/911691_2.png) [@Reahreic](https://forums.unrealengine.com/u/Reahreic)\
**Post date:** [April 23, 2024, 11:46am UTC](https://forums.unrealengine.com/t/test-command-line-arguments-in-editor/340799/5 "2024-04-23T11:46:42Z")

</div>

Well that sucks, is there any way we can inject launch parameters into the PIE modes? Specifically I need these parms to debug and test VR PIE without having to generate a build and connect a remote debugger.
