mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-10 19:06:55 +00:00
Update configuration for remote python debugger to latest format (#34527)
This commit is contained in:
parent
5fea167c94
commit
3359fc5784
@ -134,10 +134,12 @@ your Visual Studio Code project to connect to the debugger.
|
|||||||
{
|
{
|
||||||
// Example of attaching to local debug server
|
// Example of attaching to local debug server
|
||||||
"name": "Python: Attach Local",
|
"name": "Python: Attach Local",
|
||||||
"type": "python",
|
"type": "debugpy",
|
||||||
"request": "attach",
|
"request": "attach",
|
||||||
|
"connect": {
|
||||||
"port": 5678,
|
"port": 5678,
|
||||||
"host": "localhost",
|
"host": "localhost",
|
||||||
|
},
|
||||||
"pathMappings": [
|
"pathMappings": [
|
||||||
{
|
{
|
||||||
"localRoot": "${workspaceFolder}",
|
"localRoot": "${workspaceFolder}",
|
||||||
@ -148,10 +150,12 @@ your Visual Studio Code project to connect to the debugger.
|
|||||||
{
|
{
|
||||||
// Example of attaching to my production server
|
// Example of attaching to my production server
|
||||||
"name": "Python: Attach Remote",
|
"name": "Python: Attach Remote",
|
||||||
"type": "python",
|
"type": "debugpy",
|
||||||
"request": "attach",
|
"request": "attach",
|
||||||
|
"connect": {
|
||||||
"port": 5678,
|
"port": 5678,
|
||||||
"host": "homeassistant.local",
|
"host": "homeassistant.local",
|
||||||
|
},
|
||||||
"pathMappings": [
|
"pathMappings": [
|
||||||
{
|
{
|
||||||
"localRoot": "${workspaceFolder}",
|
"localRoot": "${workspaceFolder}",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user