Cov txheej txheem:

Kuv yuav pab kom debugging tej thaj chaw deb hauv IntelliJ li cas?
Kuv yuav pab kom debugging tej thaj chaw deb hauv IntelliJ li cas?

Video: Kuv yuav pab kom debugging tej thaj chaw deb hauv IntelliJ li cas?

Video: Kuv yuav pab kom debugging tej thaj chaw deb hauv IntelliJ li cas?
Video: KUV txaus LAWM - Paj Zoo Vaj [Official MV] Nkauj Tawm Tshiab 2023 2024, Tej zaum
Anonim

Chaw taws teeb debugging siv IntelliJ

  1. Qhib tus IntelliJ IDEA IDE thiab nyem rau ntawm Run Configurations (sab saum toj sab xis).
  2. Nyem rau ntawm ntsuab ntxiv (sab laug sab laug) thiab xaiv Chaw taws teeb ntxiv ib qho tshiab configuration rau a nyob deb app.
  3. Sau lub npe rau koj qhov kev teeb tsa, piv txwv li, Kuv thawj debug tag nrho hauv ib qhov project.
  4. Hloov tus lej chaw nres nkoj rau 8000.

Raws li, kuv yuav txuas mus rau tej thaj chaw deb debugger li cas?

Txuas rau tej thaj chaw deb debugger : Xaiv Cov Cuab Yeej> Google Huab Cuab Yeej> Qhia Google Cloud Explorer los tso Cloud Explorer. Txoj nyem rau ntawm Compute Engine VM piv txwv koj xav xa mus rau tej thaj chaw deb debugger mus thiab xaiv Attach debugger . Qhov txuas debugger wizard qhia.

Tsis tas li ntawd, kuv yuav ua li cas los ntawm cov lej hauv IntelliJ? Qhov no feature tso cai rau koj xaiv txoj kev hu koj xav nyob rau hauv. Los ntawm lub ntsiab zaub mov, xaiv Khiav | Ntse Kauj ruam mus los yog nias Shift + F7. Nyem rau txoj kev los yog xaiv nws siv tus xub yuam sij thiab nias Enter / F7.

Khaws qhov no hauv kev xav, dab tsi yog qhov debugging?

Chaw taws teeb debugging txhais tau tias koj ua haujlwm ntawm koj lub computer hauv zos thiab koj xav pib thiab debug ib tug program rau lwm lub computer, lub nyob deb tshuab. Hauv cov piv txwv hauv qab no lub npe ntawm lub computer hauv zos yog 'localcomp' thiab lub npe ntawm tus nyob deb computer yog 'remotecomp'.

Kuv yuav hloov kho qhov chaw hauv IntelliJ li cas?

Nrog rau Navigation Bar pom (Saib | Tshwm Sim | Navigation Bar), xaiv Kho kom raug Configurations los ntawm kev khiav / debug kev teeb tsa xaiv. Nias Shift + Alt + F10, ces nias 0 los tso saib cov Kho kom raug Configuration dialog, los yog xaiv cov kev teeb tsa los ntawm lub popup thiab nias F4.

Pom zoo: