Skip to content

Can not add additional classpath #1426

@demanLiu

Description

@demanLiu

[provide a description of the issue]

Environment
  • Operating System: wsl (Arch)
  • JDK version: 1.8
  • Visual Studio Code version: 1.85.1
  • Java extension version: v1.25.1
  • Java Debugger extension version: v0.55.0
Steps To Reproduce
  1. my launch.json
    {
    "type": "java",
    "name": "Application",
    "request": "launch",
    "mainClass": "Application",
    "projectName": "roc-domestic-web",
    "shortenCommandLine": "auto",
    "classPaths": [
    "$Auto",
    "~/workspace/domestic-shopping/roc-domestic-common/target/classes/",
    ],
    }

  2. launch command line
    /usr/bin/env /usr/lib/jvm/java-8-openjdk/jre/bin/java -agentlib:jdwp=transport=dt_socket,server=n,suspend=y,address=localhost:41833 -cp /tmp/cp_aiaqxn8lxgly17gkhnct4os82.jar Application

Current Result

classpath can't have the classpath that I added

Expected Result

can append my customized classpath

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions