vscode-java-debug
vscode-java-debug copied to clipboard
Launching a Java class should not execute what is typed in the terminal
Type: Bug
If you type rm -rf something
in the terminal and forget to press enter before launching a Java class, then your project is deleted.
Expected:
The project should never be deleted, nor should anything typed in the terminal be executed
Extension version: 0.56.0 VS Code version: Code 1.86.1 (Universal) (31c37ee8f63491495ac49e43b8544550fbae4533, 2024-02-07T09:09:01.236Z) OS version: Darwin arm64 23.3.0 Modes:
System Info
Item | Value |
---|---|
CPUs | Apple M1 Max (10 x 24) |
GPU Status | 2d_canvas: enabled canvas_oop_rasterization: enabled_on direct_rendering_display_compositor: disabled_off_ok gpu_compositing: enabled multiple_raster_threads: enabled_on opengl: enabled_on rasterization: enabled raw_draw: disabled_off_ok skia_graphite: disabled_off video_decode: enabled video_encode: enabled webgl: enabled webgl2: enabled webgpu: enabled |
Load (avg) | 25, 24, 28 |
Memory (System) | 64.00GB (1.37GB free) |
Process Argv | --crash-reporter-id 3c06e13f-ed9a-4182-a8b6-41057b478757 |
Screen Reader | no |
VM | 0% |
This behavior is controlled by VS Code, we need to open the issue at https://github.com/microsoft/vscode/issues. Java Debugger is just a Debug Adapter Protocol implementation and calculate the launching command line and send it to VS Code. It's VS Code client to paste it to the terminal and run it.