Ptvsd mit Visual Studio-Code „pydev debugger: Warnung: Versuch, einen Haltepunkt zu einer Datei hinzuzufügen, die nicht Python

Python-Programme
Anonymous
 Ptvsd mit Visual Studio-Code „pydev debugger: Warnung: Versuch, einen Haltepunkt zu einer Datei hinzuzufügen, die nicht

Post by Anonymous »

Wenn ich das folgende Debug von einem Visual Studio-Code (Windows-Computer) auf einem Raspberry PI ausführe. Ich erhalte zweimal die folgende Fehlermeldung:

Code: Select all

pydev debugger: warning: trying to add breakpoint to file that does not exist: /home/pi/testdebug/C:/IOT/Github/RaspberryPi/test_remote_debug/test_remote_debug.py (will have no effect)

pydev debugger: warning: trying to add breakpoint to file that does not exist: /home/pi/testdebug/C:/IOT/Github/RaspberryPi/ReadPressure/Testing_bar_broke_notification.py (will have no effect)
Dies ist die Einstellung in launch.json:

Code: Select all

{
"name": "Python Attach (Remote Debug blah blah )",
"type": "python",
"request": "attach",
"pathMappings": [
{
"localRoot": "${workspaceFolder}",  // You may also manually specify the directory containing your source code.
"remoteRoot": "/home/pi/testdebug/" // Linux example; adjust as necessary for your OS and situation.
}
],
"port": 3000,                   // Set to the remote port.
"host": "192.34.98.197"               // Set to your remote host's public IP address.
}
Irgendwelche Ideen, warum ich das zum Laufen bekomme?

Quick Reply

Change Text Case: 
   
  • Similar Topics
    Replies
    Views
    Last post