LoginSignup
5
9

More than 5 years have passed since last update.

VS CodeでPythonをデバッグする準備をする。

Last updated at Posted at 2017-06-18

1.作業フォルダを作成し、新規ファイル(.py)を作成する。

2.拡張機能をインストールする。

[推奨事項を表示]をクリックする。

image.png

Pythonを選んで[インストール]をクリックする。

image.png

3.launch.jsonを作成する。

一番最初に作った作業フォルダを開く。

image.png

デバッグ ⇒ 構成を開く ⇒ Python を選ぶ。

image.png

そのままlaunch.jsonを閉じる。

image.png

4.簡単なプログラムを作成し、[pylint]をインストールする。

image.png
image.png

5.[F5]を押して、デバッグを開始する。

image.png

デバッグを続ける。

image.png

5
9
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
5
9