support stopOnEntry (#133)
* support stopOnEntry Signed-off-by: xuzho <xuzho@microsoft.com> * update readme Signed-off-by: xuzho <xuzho@microsoft.com>
This commit is contained in:
parent
ae3b9d7996
commit
2ce2d772c1
|
@ -56,6 +56,7 @@ Please also check the documentation of [Language Support for Java by Red Hat](ht
|
|||
- `projectName` - The preferred project in which the debugger searches for classes. There could be duplicated class names in different projects. This setting also works when the debugger looks for the specified main class when launching a program.
|
||||
- `cwd` - The working directory of the program.
|
||||
- `env` - The extra environment variables for the program.
|
||||
- `stopOnEntry` - Automatically stop program after launch.
|
||||
|
||||
### Attach
|
||||
|
||||
|
|
|
@ -111,6 +111,11 @@
|
|||
"type": "object",
|
||||
"description": "The extra environment variables for the program.",
|
||||
"default": {}
|
||||
},
|
||||
"stopOnEntry": {
|
||||
"type": "boolean",
|
||||
"description": "Automatically stop after launch.",
|
||||
"default": true
|
||||
}
|
||||
}
|
||||
},
|
||||
|
@ -160,7 +165,8 @@
|
|||
"request": "launch",
|
||||
"cwd": "^\"\\${workspaceFolder}\"",
|
||||
"mainClass": "",
|
||||
"args": ""
|
||||
"args": "",
|
||||
"stopOnEntry": true
|
||||
}
|
||||
},
|
||||
{
|
||||
|
|
|
@ -38,6 +38,7 @@ export class JavaDebugConfigurationProvider implements vscode.DebugConfiguration
|
|||
mainClass: item.mainClass,
|
||||
projectName: item.projectName,
|
||||
args: "",
|
||||
stopOnEntry: true,
|
||||
};
|
||||
});
|
||||
resolve([...launchConfigs, {
|
||||
|
|
Loading…
Reference in New Issue