工具:VSCode在.vscode/launch.json中设置启动时的参数
2019-11-04 18:33阅读:
如下脚本设置启动参数,如题,在.vscode/launch.json文件中,红色部分设置运行参数
{ // Use IntelliSense to learn
about possible attributes. // Hover to
view descriptions of existing attributes. //
For more information, visit:
https://go.microsoft.com/fwlink/?linkid=830387
'version': '0.2.0', 'configurations': [ {
'name': 'Python: Current File (Integrated Terminal)',
'type': 'python', 'request': 'launch',
'program': '${file}', 'console':
'integratedTerminal', 'args': [ '--config',
'configs/example.json' ] },
.....
