Jul-02-2019, 02:06 PM
hi all,
When i tried to debug in VS code for a py file which involves reading csv with pandas, VS code said cwd needs to be set in launch.json. However, after I set, another issue happen. I wonder if kind of port or something I need to set before successfully debug? Thanks!
My py file
![[Image: CZjEQgX.jpg]](https://i.imgur.com/CZjEQgX.jpg)
launch.json and debug message
![[Image: m7N8f6x.jpg]](https://i.imgur.com/m7N8f6x.jpg)
location for placing csv file
When i tried to debug in VS code for a py file which involves reading csv with pandas, VS code said cwd needs to be set in launch.json. However, after I set, another issue happen. I wonder if kind of port or something I need to set before successfully debug? Thanks!
My py file
![[Image: CZjEQgX.jpg]](https://i.imgur.com/CZjEQgX.jpg)
launch.json and debug message
![[Image: m7N8f6x.jpg]](https://i.imgur.com/m7N8f6x.jpg)
location for placing csv file
![[Image: wAZXIps.jpg]](https://i.imgur.com/wAZXIps.jpg)