Enigma2 plugin to to play various online streams (mostly Latvian).

launch.json 5.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168
  1. {
  2. "version": "0.2.0",
  3. "configurations": [{
  4. "name": "Python",
  5. "type": "python",
  6. "request": "launch",
  7. "stopOnEntry": true,
  8. "pythonPath": "${config.python.pythonPath}",
  9. "program": "${file}",
  10. "cwd": "${workspaceRoot}",
  11. "console": "integratedTerminal",
  12. "debugOptions": [
  13. "WaitOnAbnormalExit",
  14. "WaitOnNormalExit",
  15. "RedirectOutput"
  16. ]
  17. },
  18. {
  19. "name": "PySpark",
  20. "type": "python",
  21. "request": "launch",
  22. "stopOnEntry": true,
  23. "osx": {
  24. "pythonPath": "${env.SPARK_HOME}/bin/spark-submit"
  25. },
  26. "windows": {
  27. "pythonPath": "${env.SPARK_HOME}/bin/spark-submit.cmd"
  28. },
  29. "linux": {
  30. "pythonPath": "${env.SPARK_HOME}/bin/spark-submit"
  31. },
  32. "program": "${file}",
  33. "cwd": "${workspaceRoot}",
  34. "debugOptions": [
  35. "WaitOnAbnormalExit",
  36. "WaitOnNormalExit",
  37. "RedirectOutput"
  38. ]
  39. },
  40. {
  41. "name": "Python Module",
  42. "type": "python",
  43. "request": "launch",
  44. "stopOnEntry": true,
  45. "pythonPath": "${config.python.pythonPath}",
  46. "module": "module.name",
  47. "cwd": "${workspaceRoot}",
  48. "debugOptions": [
  49. "WaitOnAbnormalExit",
  50. "WaitOnNormalExit",
  51. "RedirectOutput"
  52. ]
  53. },
  54. {
  55. "name": "Integrated Terminal/Console",
  56. "type": "python",
  57. "request": "launch",
  58. "stopOnEntry": true,
  59. "pythonPath": "${config.python.pythonPath}",
  60. "program": "${file}",
  61. "cwd": "null",
  62. "console": "integratedTerminal",
  63. "debugOptions": [
  64. "WaitOnAbnormalExit",
  65. "WaitOnNormalExit"
  66. ]
  67. },
  68. {
  69. "name": "External Terminal/Console",
  70. "type": "python",
  71. "request": "launch",
  72. "stopOnEntry": true,
  73. "pythonPath": "${config.python.pythonPath}",
  74. "program": "${file}",
  75. "cwd": "null",
  76. "console": "externalTerminal",
  77. "debugOptions": [
  78. "WaitOnAbnormalExit",
  79. "WaitOnNormalExit"
  80. ]
  81. },
  82. {
  83. "name": "Django",
  84. "type": "python",
  85. "request": "launch",
  86. "stopOnEntry": true,
  87. "pythonPath": "${config.python.pythonPath}",
  88. "program": "${workspaceRoot}/manage.py",
  89. "cwd": "${workspaceRoot}",
  90. "args": [
  91. "runserver",
  92. "--noreload"
  93. ],
  94. "debugOptions": [
  95. "WaitOnAbnormalExit",
  96. "WaitOnNormalExit",
  97. "RedirectOutput",
  98. "DjangoDebugging"
  99. ]
  100. },
  101. {
  102. "name": "Flask",
  103. "type": "python",
  104. "request": "launch",
  105. "stopOnEntry": false,
  106. "pythonPath": "${config.python.pythonPath}",
  107. "program": "fully qualified path fo 'flask' executable. Generally located along with python interpreter",
  108. "cwd": "${workspaceRoot}",
  109. "env": {
  110. "FLASK_APP": "${workspaceRoot}/quickstart/app.py"
  111. },
  112. "args": [
  113. "run",
  114. "--no-debugger",
  115. "--no-reload"
  116. ],
  117. "debugOptions": [
  118. "WaitOnAbnormalExit",
  119. "WaitOnNormalExit",
  120. "RedirectOutput"
  121. ]
  122. },
  123. {
  124. "name": "Flask (old)",
  125. "type": "python",
  126. "request": "launch",
  127. "stopOnEntry": false,
  128. "pythonPath": "${config.python.pythonPath}",
  129. "program": "${workspaceRoot}/run.py",
  130. "cwd": "${workspaceRoot}",
  131. "args": [],
  132. "debugOptions": [
  133. "WaitOnAbnormalExit",
  134. "WaitOnNormalExit",
  135. "RedirectOutput"
  136. ]
  137. },
  138. {
  139. "name": "Watson",
  140. "type": "python",
  141. "request": "launch",
  142. "stopOnEntry": true,
  143. "pythonPath": "${config.python.pythonPath}",
  144. "program": "${workspaceRoot}/console.py",
  145. "cwd": "${workspaceRoot}",
  146. "args": [
  147. "dev",
  148. "runserver",
  149. "--noreload=True"
  150. ],
  151. "debugOptions": [
  152. "WaitOnAbnormalExit",
  153. "WaitOnNormalExit",
  154. "RedirectOutput"
  155. ]
  156. },
  157. {
  158. "name": "Attach (Remote Debug)",
  159. "type": "python",
  160. "request": "attach",
  161. "localRoot": "${workspaceRoot}",
  162. "remoteRoot": "${workspaceRoot}",
  163. "port": 3000,
  164. "secret": "my_secret",
  165. "host": "localhost"
  166. }
  167. ]
  168. }