res*_*101 5 python debugging visual-studio-code
当我从 Visual Studio 代码(Windows 计算机)到 Raspberry PI 运行以下调试时。我两次收到以下错误:
pydev 调试器:警告:尝试向不存在的文件添加断点:/home/pi/testdebug/C:/IOT/Github/RaspberryPi/test_remote_debug/test_remote_debug.py(将无效)
pydev 调试器:警告:尝试向不存在的文件添加断点:/home/pi/testdebug/C:/IOT/Github/RaspberryPi/ReadPressure/Testing_bar_broke_notification.py(将无效)
这是 lauch.json 中的设置:
{
"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.
}
Run Code Online (Sandbox Code Playgroud)
任何想法为什么我要让它工作?
归档时间: |
|
查看次数: |
1321 次 |
最近记录: |