title: VSCode: how to configure task
body: <p>I'm trying to configure the task runner as the following: </p>
  
  <p>my goal is to execute the following command:
  <strong><code>MAVEN_OPTS="-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8000" mvn org.apache.tomcat.maven:tomcat7-maven-plugin:run -Pxconfig-java</code></strong></p>
  
  <p>So the structure is <strong><code>MAVEN_OPTS {mavenOpts} mvn {taskName} {args}</code></strong></p>
  
  <p>My problem there are the <code>MAVEN_OPTS</code> declaration (anything before the command) </p>
  
  <hr>
  
  <p>This what I got so far</p>
  
  <pre><code>{
    "version": "0.1.0",
    "isShellCommand": true,
    "showOutput": "always",
    "args": [
      "MAVEN_OPTS",
      "-Xdebug",
      "-Xnoagent",
      "-Djava.compiler=NONE",
      "-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8000"
    ],
    "tasks": [
      {
        "command": "mvn",
        "taskName": "org.apache.tomcat.maven:tomcat7-maven-plugin:run",
        "args": [
          "org.apache.tomcat.maven:tomcat7-maven-plugin:run",
          "-P",
          "xconfig-java"
        ],
        "suppressTaskName": false
      }
    ]
  }
  </code></pre>
  
  <p>Note I've tried the <code>supressTaskName</code> option that is supposed to do the trick: <a href="https://code.visualstudio.com/docs/editor/tasks#_command-and-tasks" rel="nofollow noreferrer">DOCU</a></p>