2017-06-05 10 views

答えて

0

launch.json${file}${command.AskForScriptName}を交換デバッグが現在IDEでスクリプトを開く/実行するには:

のLinux:

また、あなたが特定のファイルをハードコーディングすることができます

{ 
    "version": "0.2.0", 
    "configurations": [ 
     { 
      "name": "Bash-Debug (type in script name)", 
      "type": "bashdb", 
      "request": "launch", 
      "scriptPath": "${file}", 
      "commandLineArguments": "", 
      "windows": { 
       "bashPath": "C:\\Windows\\sysnative\\bash.exe" 
      }, 
      "linux": { 
       "bashPath": "bash" 
      }, 
      "osx": { 
       "bashPath": "bash" 
      } 
     } 
    ] 
} 

"scriptPath": "${workspaceRoot}/test.sh" 

のWindows:

"scriptPath": "${workspaceRoot}\\test.sh" 
関連する問題