Skip to content

Commit

Permalink
Add a PySpark debug configuration for the experimental debugger (#1102)
Browse files Browse the repository at this point in the history
* ✨ add pyspark debug configuration
* 📝 add news entry
* Fixes #1029
  • Loading branch information
DonJayamanne authored Mar 17, 2018
1 parent 3fc4ac5 commit 3f5ef3a
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 9 deletions.
1 change: 1 addition & 0 deletions news/1 Enhancements/1029.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Add a PySpark debug configuration for the experimental debugger.
30 changes: 21 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -772,21 +772,33 @@
"description": "%python.snippet.launch.django.description%",
"body": {
"name": "Django",
"type": "python",
"type": "pythonExperimental",
"request": "launch",
"pythonPath": "^\"\\${config:python.pythonPath}\"",
"program": "^\"\\${workspaceFolder}/manage.py\"",
"cwd": "^\"\\${workspaceFolder}\"",
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen",
"args": [
"runserver",
"--noreload",
"--nothreading"
],
"env": {},
"envFile": "^\"\\${workspaceFolder}/.env\"",
"debugOptions": []
]
}
},
{
"label": "Python Experimental: PySpark",
"description": "%python.snippet.launch.pyspark.description%",
"body": {
"name": "PySpark",
"type": "pythonExperimental",
"request": "launch",
"osx": {
"pythonPath": "^\"\\${env:SPARK_HOME}/bin/spark-submit\""
},
"windows": {
"pythonPath": "^\"\\${env:SPARK_HOME}/bin/spark-submit.cmd\""
},
"linux": {
"pythonPath": "^\"\\${env:SPARK_HOME}/bin/spark-submit\""
},
"program": "^\"\\${file}\""
}
}
],
Expand Down

0 comments on commit 3f5ef3a

Please sign in to comment.