简体   繁体   中英

Step debugging imported modules in Python with Visual Studio Code

import pandas as pd
data = pd.read_csv(some_data)

I put a breakpoint in the second line of this code and Visual Studio Code stops at this breakpoint. But when I try to step into the "read_csv" function vscode apparently performs a "step over". I also tried setting a breakpoint inside the "read_csv" function but with the same result.

So how do I step into the mentioned function?

As of the April 2019 update debugStdLib changed to

"justMyCode": false

https://code.visualstudio.com/docs/python/debugging#_justmycode

要进入第三方代码,请在launch.json配置中设置"debugOptions": ["DebugStdLib"]

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM