Skip to content
This repository has been archived by the owner on Jul 3, 2019. It is now read-only.

Commit

Permalink
added configuration snippets to provide snippets via the "add configu…
Browse files Browse the repository at this point in the history
…ration" command
  • Loading branch information
Maximilian Wehrstedt committed Jan 25, 2019
1 parent 76236c5 commit 279ad7d
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 2 deletions.
Binary file added img/addConfiguration.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
46 changes: 45 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,51 @@
}
}
}
}
},
"configurationSnippets": [
{
"label": "JANUS Debugger: Launch",
"description": "Default configuration to connect with a JANUS server",
"body": {
"name": "Launch Script on Server",
"request": "launch",
"type": "janus",
"script": "",
"username": "",
"password": "${command:extension.vscode-janus-debug.askForPassword}",
"principal": "",
"host": "localhost",
"applicationPort": 11000,
"debuggerPort": 8089,
"currentConfiguration": true,
"stopOnEntry": true,
"log": {
"fileName": "${workspaceRoot}/vscode-janus-debug-launch.log",
"logLevel": {
"default": "Debug"
}
},
"timeout": 6000
}
},
{
"label": "JANUS Debugger: Attach",
"description": "Default configuration to attach to a JANUS server",
"body": {
"name": "Attach to Server",
"request": "attach",
"type": "janus",
"host": "localhost",
"debuggerPort": 8089,
"log": {
"fileName": "${workspaceRoot}/vscode-janus-debug-attach.log",
"logLevel": {
"default": "Debug"
}
}
}
}
]
}
],
"configuration": {
Expand Down
2 changes: 1 addition & 1 deletion src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ const initialConfigurations = [
password: commandAskForPassword,
principal: '',
host: 'localhost',
applicationPort: 10000,
applicationPort: 11000,
debuggerPort: 8089,
currentConfiguration: true,
stopOnEntry: true,
Expand Down

0 comments on commit 279ad7d

Please sign in to comment.